Authorization

The Base section is used for setting up the authorization. The most of services require the authorization key to be sent either in headers or in the qs (query-string). If you set the authorization in the Base all modules and RPCs will inherit it.

Examples

The most common ways of authorizing are:

API key in headers

{
    "headers": {
        "x-api-key": "{{connection.apiKey}}"
    }
}

API key in query string

{
    "qs": {
        "apikey": "{{connection.apiKey}}"
    }
}

OAuth 2 access token in headers

{
    "headers": {
        "authorization": "Bearer {{connection.accessToken}}"
    }
}

Last updated