edit-icon download-icon

Common parameters

Last Updated: Aug 28, 2017

Common Request Headers

Parameter Name Description Required/Optional
Authorization A string value consisting of MNS + space + AccessKeyId + : + signature. Refer to Signature Mechanism for more details. Required
Content-Length Content length of the HTTP message body Required
Content-Type MIME type of the request content. Only support text and xml for now. Required
Content-MD5 MD5 of the HTTP message body Optional
Date Construction time of the request. Only support GMT format for now. If the difference between construction time and MNS server time exceeds 15 minutes, the request would be regarded as invalid. Required
Host Such as $AccountId.mns.cn-hangzhou.aliyuncs.com. You can acquire the AccountId from website of Alibaba Cloud, and acquire the MNS access address for different regions from the API document. Required(HTTP/1.1) Optional(HTTP/1.0)
x-mns-version Version of the MNS API protocol. The current version is 2015-06-06 Required

Common Response Headers

Parameter Name Description
Content-Length Length of the response body
Connection HTTP connection status
Date Return time of the response, in GMT format
Server Name of the MNS server which processed the request
x-mns-request-id ID of the current request
x-mns-version Version of the MNS API protocol. The current version is 2015-06-06
Thank you! We've received your feedback.