|
请求方法post
url是https://api.skyworthiot.com/devicemgr/v1/device/shadow/modify?ak=2.0f3fa06613f54641bd75c1cfaa3f2d89&appkey=c08bf55b8d084e7e9e5b49d78fc8e9ac&device_id=91081895&time=1692973357&uid=5277794c0b1f11e9ac64525400f3186f&sign=9a45af8f9fafd501269c1ac8b6d8ea19
请求头部是
Host: api.skyworthiot.com
Content-Type: application/x-www-form-urlencoded
Connection: keep-alive
Accept: */*
User-Agent: iPhone14,7(iOS/16.6) EEUI(EEUI/4.4.3) Weex/0.24.0 ExternalUA 1170x2532
Content-Length: 17
Accept-Language: zh-CN,zh-Hans;q=0.9
Accept-Encoding: gzip, deflate, br
请求体是普通表单格式{"POW_S" : 1},这个应该不是json格式,用json解析不出来。
现在想用nodered来实现控制设备,不会写function的代码,还有需要用到哪些节点,麻烦大佬们帮帮孩子 |
|