Retrieve an authorization token to execute additional BlueCat Overlay APIs. The BAMAuthToken content that is returned from a successful response is used as the authorization token for the other API endpoints.
Request
POST http://<Gateway_url>/rest_login
Content-Type: application/JSON
{
"username": "<gateway_username>",
"password": "<gateway_password>",
"bam_url": "<Address_Manager_IP>"
}
Parameters
- username - the username of the Gateway user.
- password - the password of the Gateway user.
- bam_url - the IP address of the Address Manager server that the BlueCat Gateway is configured to connect to.
Successful
response
200 OK Content-Type: text/html BAMAuthToken: p4QGYMTU4NzU3NjI4MDY5MDphcGk=