You will use the following HTTP request headers when you create your request:
Table 8.1. REST API — Supported Request Headers
| Header | Supported Values | Description of Use | Required |
|---|---|---|---|
| Accept | Comma-delimited list of media types or media type patterns. | Indicates to the server what media type(s) this client is prepared to accept. | Recommended |
| Authorization | Basic plus username and password (per RFC 2617). | Identifies the authorized user making this request. | No, unless secured |
| Content-Length | Body Length (in bytes) | Describes the size of the message body. | Yes, on requests that contain a message body. |
| Content-Type | Content type | Describes the representation and syntax of the request message body. | Yes, on requests that contain a message body. |
| Host | Origin hostname | Required to allow support of multiple origin hosts at a single IP address. | All requests |
| X-YYYYY-Client-Specification-Version | String | Declares the specification version of the YYYYY API that this client was programmed against. | No |