https://cmq-gz.publicXXX.tencenttdmq.com
http://gz.mqadapter.cmq.tencentyun.com
Parameter | Required | Type | Description |
queueName | Yes | String | Queue name, which must be unique under the same account in the same region. It can contain up to 64 letters, digits, and hyphens and must begin with a letter. |
msgBody | Yes | String | Message body, which must be 1 byte at least. The maximum length is subject to the configured max message size attribute. |
delaySeconds | No | Int | This field indicates how many seconds it should take for the messages to be visible after they are sent to the queue. |
Parameter | Type | Description |
code | Int | |
message | String | Error message. |
requestId | String | Request ID generated by the server, which can be submitted to the backend for troubleshooting when an internal server error occurs. |
msgId | String | Unique ID of the message generated by the server. |
https://domain/v2/index.php?Action=SendMessage&queueName=test-queue-123&msgBody=helloworld&<<a href="">Common request parameters</a>>
{"code" : 0,"message" : "","requestId":"14534664555","msgId":"123345346"}
Was this page helpful?