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 for token authentication.

-

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. GMT time is used.

Mandatory for AK/SK authentication.

20160629T101459Z

Authorization

Authentication information,

which is the result of request signing.

Mandatory for AK/SK authentication.

-

Host

Requested server information, which is obtained from the URL in an API request. The value is in the format of hostname:port. If no port is specified, the default port will be used. For HTTPS, port 443 is used by default.

Mandatory for AK/SK authentication.

-