链接OenNET平台上传数据已经获取云平台数据
1.简介
- ?我创建了三个数据流,分别为Led1(735471469),led2(735480350),Led3(735480495)
- ?我的API-KEY = FN8vCnpwAjyjTV2m1y=zpL451i4=
- ?使用的HTTP协议(点击访问OneNET的HTTP协议)
- ?参考建立项目网站(手把手教你连接OenNET)以及(esp8266连接OneNET云)
Led2:
POST /devices/735480350/datapoints?type=5 HTTP/1.1
api-key:FN8vCnpwAjyjTV2m1y=zpL451i4=
Host:api.heclouds.com
Content-Length:8
,;led2,1
Led3:
POST /devices/735480495/datapoints?type=5 HTTP/1.1
api-key:FN8vCnpwAjyjTV2m1y=zpL451i4=
Host:api.heclouds.com
Content-Length:8
,;led3,1
Led1:
POST /devices/735471469/datapoints?type=5 HTTP/1.1
api-key:FN8vCnpwAjyjTV2m1y=zpL451i4=
Host:api.heclouds.com
Content-Length:8
,;led1,1
GET /devices/735480495/datapoints?type=5 HTTP/1.1
api-key:FN8vCnpwAjyjTV2m1y=zpL451i4=
Host:api.heclouds.com
Content-Length:6
,;led3
GET /devices/735480350/datapoints?type=5 HTTP/1.1
api-key:FN8vCnpwAjyjTV2m1y=zpL451i4=
Host:api.heclouds.com
Content-Length:6
,;led2
GET /devices/735471469/datapoints?type=5 HTTP/1.1
api-key:FN8vCnpwAjyjTV2m1y=zpL451i4=
Host:api.heclouds.com
Content-Length:6
,;led1
程序链接
|