CoAP Gateways

Send a Request to a Client

Send a CoAP request message to the client

post/gateways/coap/clients/{clientid}/request

Request

  • Base URL: https://docs.emqx.com/api/v5
  • URL: https://docs.emqx.com/api/v5/gateways/coap/clients/{clientid}/request
  • Auth: one of:
    • HTTP basic
    • bearerAuth (a scheme the document does not define)

Path parameters

clientidstring required

Request body

tokenstring

Message token, can be empty

method'get' | 'put' | 'post' | 'delete'

Request method type

timeoutstring

Timespan for response

content_type'text/plain' | 'application/json' | 'application/octet-stream'

Payload type

payloadstring

The content of the payload

Example request

{
  "timeout": "32s"
}

Response

idinteger

Message ID

tokenstring

Message token, can be empty

methodstring

Response code

payloadstring

The content of the payload

Changes

No recorded changes to this operation across all 1 revision of this API.