Basic Authentication
As of Adaptix 2.3.0, support for basic authentication can be enabled through Adaptix's Configuration -> API Settings. As with OAuth2, it is only recommended to use basic authentication over HTTPS.
To authorize a request for basic authentication, set an Authorization header.
- Combine the username and password of a Adaptix user with a colon
:. For example,user:password. - Base64 encode the string from above.
dXNlcjpwYXNzd29yZA==. - Add an Authorization header to each API request as
Authorization: Basic dXNlcjpwYXNzd29yZA== - The URL should be a known endopoint i.e.
api/contacts
CURL Sample,
PHP Sample
$settings will be an array like this:
Also, for basic auth, pass 'BasicAuth' in 2nd parameter: