Appearance
Authentication - E-Procurement
Obtain an access token
Make a POST request to https://hamp.autopass.pro/ by including a Authorization header field with the value Basic <credentials> where <credentials> is the Base64 encoding of your own username and password joined by a colon :.
In return, the response body will look like this:
json
{
"access_token": "CdDQ1B6PSVSjjFvVtXuy0w",
"expires_in": 900,
}Where expires_in is the life duration of the token, in seconds.
Use an access token
Your request must include a Authorization header field with the value Bearer <access_token>.