Ebyte NA611-S User Manual page 11

Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
HTTP transmission mode: It is divided into POST and GET methods. When the HTTP information is set, the
information in the information area is directly written, and the device will automatically seal the data packet before
uploading to the network.
HTTP URL content: represents the URL part of the HTTP message body, such as the HTTP content part of the
test above.
(POST method URL)
/devices/505619290/datapoints
(GET method URL)
http://api.heclouds.com/devices/505619290/datapoints?datastream_id=test_stream
HTTP domain name: represents the IP address of the target HTTP server, such as 183.230.33.80 in the above test
content
HTTP port: represents the port number of the target HTTP server, such as the appeal 80, the general HTTP port
number is port 80
HTTP header content: represents the header part of HTTP, such as the appealed
api-key:SlxhH3MCLvuuvXJ0N=a14Yo6EAQ=\r\nHost:api.heclouds.com
After
configuring
{"datastreams":[{"id":"test_stream","datapoints":[{"value":28}]}]} (post message)You can POST information to
the HTTP server, and send datastream _id=test stream to GET information from the HTTP server.
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
the
HTTP
NA611-S & NA611-SA User Manual
information,
send
第 11 页

Advertisement

Table of Contents
loading

This manual is also suitable for:

Na611-sa

Table of Contents