BeMap API requires authentication for all service calls.
You can authenticate in two ways:
- Using HTTP Basic Authorization via the
Authorizationheader. - Using URL parameters (
appidandappcode).
After successful authentication, the server sets a session cookie (SESSION or JSESSIONID) that can be reused for subsequent requests.
Choose the appropriate environment based on your usage context:
- ๐งช Beta:
https://bemap-beta.benomad.com/bgis - ๐ฆ Preproduction:
https://bemap-preprod.benomad.com/bgis - ๐ Production:
https://bemap-prod.benomad.com/bgis
BND Authentication endpoint:https://[environment]/bgis/bnd
Send a request with the following header:
Authorization: Basic base64(appid:appcode)Example:
Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l
Send a POST request to:
https://[environment]/bgis/bnd?appid=your_appid&appcode=your_appcodeWith the header:
Content-Type: application/x-www-form-urlencodedAfter the first successful authentication:
- Retrieve the
SESSIONorJSESSIONIDvalue from the response headers. - Include it in the
Cookieheader for all subsequent requests.
Example:
Cookie: JSESSIONID=123456789