GET /auth

make an HTTP BASIC Auth request to get an authorization key

Parameters

None

Example of request

GET http://localhost:5000/auth

Authorization: Basic YmVub2l0Yzp0ZXN0
User-Agent: curl/7.29.0
Host: localhost:5000
Accept: */*

Response

{
    "api_key": 5fd6a44b51714cd0bb29dd64f0a6cbbb
}
Note: An header X-API-Key is also returned containing the key.

Status Errors

  • 200: OK
  • 401: Unauthorized

resources informations

Authorization all
HTTP Method GET
Status Codes 200, 401