https://cmq-queue-{$region}.api.qcloud.com
http://cmq-queue-{$region}.api.tencentyun.com
Parameter name | Required | Type | Description |
QueueName | Yes | String | Queue name, which is unique under the same account in a single region. The queue name is a string of no more than 64 characters, must begin with a letter, and the rest can contain letters, numbers, and dashes (-). |
MsgBody | Yes | String | Message body. At least 1Byte, the maximum length is limited by the set queue message maximum length attribute. |
DelaySeconds | No | Int | In seconds, indicates how long it takes to delay the message before the user can see the message after it is sent to the queue. |
Parameter name | Type | Description |
Code | Int | |
Message | String | Error message. |
RequestId | String | When an internal server error occurs in the request ID, generated by the server, the user can submit this ID to Backend Background to locate the problem. |
MsgId | String | The server generates a unique identity ID for the message. |
Https://domain/v2/index.php?Action=SendMessage & queueName=test-queue-123 & msgBody=helloworld & <Common Request Parameters>
Https://domain/v2/index.php?Action=SendMessage & queueName=test-queue-123 & msgBody=helloworld &
Common Request Parameters{"code" : 0,"message" : "","requestId":"14534664555","msgId":"123345346"}
Was this page helpful?