The platform provides HTTP Push function, which can proactively send device-related data and messages to the application server in the form of HTTP/HTTPS POST requests.
Follow below steps to enable the HTTP PUSH service:
step 1 Enter the Developer Center, select Data Push ->HTTP PUSH, click Add Global Push, as shown in the following picture:
Step 2 Fill in the server URL address used to receive the data and the customized token (token can be used to verify whether the request is from OneNET). Select the data stream that needs to push the new data point by specifying the datastream; click Associate as shown in the following picture:
In the pop-up menu bar, select the datastream that you want to push data, and after selecting, the push service will push the new data point in the selected data stream, as shown in the following picture:
Configure push timing intervals and quantity accumulations as needed, as shown in the following picture:
Follow the application developer guide to deploy the application server receiving service, click Add , and you can see that the service is in enabled state after success, as shown in the following picture: