Updated on 2022-04-29 GMT+08:00

Common Request Parameters

Table 1 describes the request parameters.

Table 1 Common request parameters

Parameter

Mandatory

Description

Example

Content-type

Yes

MIME type of the response body

application/json

Content-Length

This parameter is mandatory for POST and PUT requests, but must be left blank for GET requests.

Length of the request body. The unit is byte.

3495

X-Auth-Token

Yes

User token

MIINRwYJKoZIhvcNAQcCoIINODCCDTQCAQExDTALBglghkgBZQMEAgEwgguVBgkqhkiG...

X-Language

No

Request language type. The default value is zh-cn.

en-us

  • For details about other parameters in the message header, see the HTTPS protocol documentation.
  • When calling a service API, add the message body of Content-Type to the request message header.