6.5 REST API
In addition to using mqtt and TCP to obtain data, users can also use rest APIs to
call data according to interface documents
Step 1: click "app>>rest api>> enable", select the address and port of the cloud
platform server, click apply and save
Step 2: use tools such as postman according to the interface document to call the
interface to obtain data.
1. Fill in the URL, token, etc. in the interface document, and note whether it is
a get or post request;
2. Click send;
3. Finally, the gateway device will return the corresponding data results in JSON
format;