Parameter Description Required
Authorization The string to be verified. Syntax of the value: MNS AccessKeyId:Signature. For more information about the Authorization header, see the Sign requests topic. Yes
Content-Length The size of the message content in the request. Yes
Content-Type The MIME type of the requested content. Valid values: text and xml. Yes
Content-MD5 The MD5 hash of the message content in the HTTP request. For more information about the format, visit https://tools.ietf.org/html/rfc1864. No
Date The time when the request is generated. The time must be in UTC. If the difference between the time when the request is generated and the time when MNS receives the request exceeds 15 minutes, MNS determines that the request is invalid. Yes
Host Syntax of the value: $AccountId.mns.cn-hangzhou.aliyuncs.com. You can retrieve the account ID from the Alibaba Cloud website and the required MNS endpoint from the API document. This parameter is required if you use HTTP/1.1 and optional if you use HTTP/1.0.
x-mns-version The API version that is used. The latest API version is 2015-06-06. Yes
x-mns-date This parameter can be used to replace the Date parameter. If the Date parameter is not supported by the browser that you use to generate HTTP requests, you can use the x-mns-date parameter. N/A

Common response headers

Parameter Description
Content-Length The size of the message content that was returned.
Connection The status of the HTTP connection.
Date The time when the response was returned. The time must be in UTC.
Server The name of the MNS server that responded to the request.
x-mns-request-id The ID of the request.
x-mns-version The API version that was used. The latest API version is 2015-06-06.