This topic describes the common request parameters and common response parameters in an HTTP request header of ApsaraMQ for RocketMQ.

Common request headers

ParameterRequiredDescription
AuthorizationYesThe authorization string, which comprises MQ + space + <AccessKey ID> + : + <Signature>. For more information, see Request signatures
Content-LengthYesThe length of the HTTP request body.
Content-TypeYesThe Multipurpose Internet Mail Extensions (MIME) type of the request content. Currently, the request content supports only text/xml, charset=utf-8.
DateYesThe time when the request is created. Currently, only the GMT format is supported. If the difference between the creation time and the RocketMQ broker exceeds 15 minutes, the request is invalid.
HostYesThe HTTP endpoint that you found on the Instances page of the console.
x-mq-versionYesThe version of the RocketMQ API. The current version is 2015-06-06.

Common response headers

ParameterDescription
Content-LengthThe length of the HTTP response body.
ConnectionThe HTTP connection status.
DateThe time when the response is returned. Format: GMT.
x-mq-request-idThe ID of the request.
x-mq-versionThe version of the RocketMQ API. The current version is 2015-06-06.