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,

which is application/json;charset=utf-8.

Yes

application/json;charset=utf8

x-sdk-date

Time to send a request,

which is in the format of YYYYMMDD'T'HHMMSS'Z'. GMT time is used.

Yes for Access Key ID/Secret Access Key (AK/SK)-based authentication

20160629T101459Z

Authorization

Signature authentication information,

which is 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

-