0
我试图检索HTTP资源(http://srcafe21.cafe24.com/mylight.php?id=2
)使用ESP8266:如何使用ESP8266访问网站?
ESP8266 AT commands :
AT+CWMODE=3
AT+RST
AT+CWJAP="iptime-3","20030214"
AT+CIFSR
AT+CIPMUX=0
AT+CIPSTART="TCP","srcafe21.cafe24.com",80
AT+CIPSEND=60
GET/HTTP/1.1
Host:srcafe21.cafe24.com/mylight.php?id=2
AT+CIPCLOSE
我得到这样的回应:
SEND OK +IPD,311:HTTP/1.1 400 Bad Request Server: nginx Date: ....
我在做什么错?
哇......我实现了。非常感谢...!!! – secrets
请考虑[接受答案](http://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work),以便堆栈溢出可以标记为已回答。 –