Basic
Description
The Basic connection type (basic) supports HTTP Basic authentication. A username and password are sent in the HTTP Authorization header.
Required Information
After you select this type in Connection Type, the console asks for the following fields. Every connection also has a Connection ID, Connection Name, and Connection Type.
| Field | Required | Description |
|---|---|---|
| Endpoint | Yes | The base URL of the API. |
| Username | Yes | The username for authentication. |
| Password | Yes | The password for authentication. Stored as a secret. |
| Headers | No | Optional HTTP headers sent with each request. Under Headers, select Add, then enter a Key and Value. Values are masked like other secrets. Select Remove entry to delete a header. |
Example Header
Contextual builds the header for you, including Base64-encoding username:password. You only need to create the connection.
HTTP
Authorization: Basic base64(username:password)
Usage
Use this type when the API accepts a simple username and password.