Updated on 2022-02-21 GMT+08:00

Common Request Headers

Table 1 Common request headers

Header

Description

Mandatory

Example

X-Auth-Token

User token.

Mandatory if token authentication is in use.

-

Content-Type

Type of content in a request.

The value of this field is application/json;charset=utf8.

Mandatory

application/json;charset=utf8

x-sdk-date

Time to send a request.

The format is YYYYMMDD'T'HHMMSS'Z. The value is the Greenwich Mean Time (GMT) of the system.

Mandatory if AK/SK authentication is in use.

20160629T101459Z

Authorization

Authentication information,

which is the result of request signing.

Mandatory if AK/SK authentication is in use.

-

Host

Requested server information, which is obtained from the URL in an API request. The value is hostname[:port]. If no port number is specified, the default port number will be selected. For HTTPS, the default port number is 443.

Mandatory if AK/SK authentication is in use.

-