temperature
and humidity
variables are closed inside double brackets {{}}
, so the endpoint will be expecting this information to complete the body. In the following, there is some code examples calling this endpoint.call_endpoint
method, which requires the endpoint id, ExampleEmail
in this example, and the optional data to be sent to the endpoint, which is a pson
document (quite similar to JSON) with two keys named temperature
and humidity
holding the readings from a DHT sensor. In the following there is an example of such call.{{}}
without any key, and send a pson
document from the device with a single value. So, the following body: