HTTP request and response headers

This topic lists the headers that are used in HTTP request and response messages.

Common request headers

Header

Description

Usage

Default

Accept-Charset

Acceptable character sets for the response message

Optional

UTF-8

Accept-Language

Acceptable languages for the response message

Optional

en

Authentication-Token

User authentication token. To learn how to obtain an authentication token, see Logging into the API server.

Required

None

Content-Length

Length of the message body in 8-bit bytes

Optional

None

Content-Type

Internet media type and character encoding of the message body

Required

application/json;charset=UTF-8

Date

Date and time the message was sent

Optional

None

Host

Name of the BMC Atrium Orchestrator API server.

Optional

None

Common response headers

Header

Description

Usage

Default

Authentication-Token

User authentication token

Only sent in response to a /wsrest/login request

None

Content-Language

Language of the message body

Sent when the language is known

None

Content-Length

Length of the message body in 8-bit bytes

Always sent

None

Content-Type

Internet media type and character encoding of the message body

Always sent

None

Date

Date and time the message was sent

Always sent

None

Server

Server identifier

Always sent

None

Related topics

Format of API examples

REST API reference

Was this page helpful? Yes No Submitting... Thank you

Comments