For requesting the RESTful services directly with a REST client, authentication must be ensured. Therefore, the Basic Authentication is used:
Within the header of an HTTP request, the Authorization field must be set.
Therefore, the credentials of the API user must be encoded with Base64 and need to be included like this: Authorization: Basic base64(User:Password).
The SingleKey ID cannot be used on API level. An API user must be created, refer to Creating an API user or Creating an API user via API.
We recommend you to use preemptive authentication. That way, the basic authentication request is sent before the server returns an unauthorized response. Also refer to the Apache documentation.
The following example shows an authorization header for the credentials foo:bar.
Authorization: Basic Zm9vOmJhcg==