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 on to 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

Optional

application/json;charset=UTF-8

Date

Date and time the message was sent

Optional

None

Host

Name of the BMC Cloud Lifecycle Management API server.

Optional

None

Common response headers

Header

Description

Usage

Default

Authentication-Token

User authentication token

Only sent in response to a /csm/login request

None

BMC-Transaction-ID

Transaction identifier

Sent when available

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

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

Comments