Get the payload of a given request.
NABTO_DEVICE_DECL_PREFIX NabtoDeviceError NABTO_DEVICE_API nabto_device_coap_request_get_payload(NabtoDeviceCoapRequest* request, void** payload, size_t* payloadLength)
- [in] The request for which to get the payload
- [out] A reference to where to put the payload reference
- [out] A reference to where to put the length of the payload
NABTO_DEVICE_EC_OK on success NABTO_DEVICE_EC_NO_DATA if the request does not contain a payload.