What request and response headers are required.
The following information must be included in all request headers.
Name | Description | Request type | Values |
---|---|---|---|
authorization | Keys to verify your authorization. | GET, POST, PATCH, DELETE | Identity and Authorization keys. |
content-type | Media type of the requested resource. | POST, PATCH, DELETE | json/application |
Note
Header field names are case-insensitive.
An example of a request header is shown below.
--header 'Accept: application/json' \
--header 'Identity: YOUR-IDENTITY' \
--header 'Authorization: YOUR-AUTHORIZATION'
Depending on the API, certain header fields may be required or optional and this is shown in the API Reference guide.