


How to send HTTP packet based on esp_iot_sdk http://bbs.espressif.com/viewtopic.php?f=21&t=232
How to send HTTP packet by AT command
1. AT+CWMODE=3 // set softAP+station mode
2. AT+CWJAP="SSID","password" // ESP8266 station connect to router
3. create a TCP connection and send HTTP packet which is marked in red, notice that the new line [(0x0d 0x0a) or (CR LF)] is needed.
Code: Select all
GET / HTTP/1.1
User-Agent: curl/7.37.0
Host: cn.bing.com
Accept: */*
4.HTTP result
Thanks for your interest in ESP8266 !