Updated on 2024-08-02 GMT+08:00

Common Request Headers

Table 1 Common request headers

Name

Description

Mandatory

Example

X-Auth-Token

User token.

Yes for token-based authentication

-

Content-Type

Content type.

Enter application/json;charset=utf-8.

Yes

application/json;charset=utf8

x-sdk-date

Time to send a request.

The format is YYYYMMDD'T'HHMMSS'Z'. GMT time is used.

Yes for AK/SK-based authentication

20160629T101459Z

Authorization

Signature authentication information.

It can be obtained from the result of request signing.

Yes for AK/SK-based authentication

-

Host

Request server information, which is obtained from the URL of a service API. The value is hostname[:port]. If no port is specified, the default port will be used. For HTTPS, port 443 is used by default.

Yes for AK/SK-based authentication

-