我使用pc的curl工具向云申请设备的控制权,我的pc是windows的。
curl -X POST -H "Authorization:token798b55d0cd2983dc66e9e82b4b37a906a61543e5"-d "{\"token\":\"55b2bcb6495ded05464b1ea746171b625afb1ca2\"}" http://iot.espressif.cn/v1/key/authorize/
但是回复一直是500的错误。
这是一个什么问题。
non-os_sdk_iot_demo can not use curl
Re: non-os_sdk_iot_demo can not use curl
Postby Her Mary » Thu Aug 10, 2017 2:15 pm
Authorization:token798b55d0cd2983dc66e9e82b4b37a906a61543e5
There should be a blank space between the number and "token", as below:
Code: Select all
Authorization:token 798b55d0cd2983dc66e9e82b4b37a906a61543e5
Who is online
Users browsing this forum: No registered users and 3 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.