Mainly for back-end users to develop
Installation will not elaborate here.
1. First we need to add a test device
2. Inside the device, the data is divided into telemetry and properties
3. Then we report the data (article demonstrates refer to the official documentation) by request
Here we use the http request demo
From httpAPI, we find the interface device properties reported A52DPvi1AL7tmN5JsNTf is access token (change their address and port)
http://localhost:8080/api/v1/A52DPvi1AL7tmN5JsNTf/attributes
I use a postman carried out tests, post requests, json data transmission
{"attribute1":"value1", "attribute2":true, "attribute3":42.0, "attribute4":73}
result
We remove a property, test results following figure: the conclusion is that property 3 also exist and have not been deleted
Analog telemetry data
http://localhost:8080/api/v1/A52DPvi1AL7tmN5JsNTf/telemetry
{"key1":"value1", "key2":"value2"}
result