ESP8266-1 empty GET Request
Posted: Tue Nov 03, 2015 4:16 pm
Hi everyone!
I have a problem with sending GET request to every websites. I tried to find any infromation what could be wrong, but I did not found for few days.
So... What I do is:
• change ESP8266 to client mode by AT+CWMODE=1,
• Connect to my WIFI by CWJAP,
• Connect to my website by AT+CIPSTART="TCP","31.220.16.138",80 (or ="TCP","wersjarobocza.hol.es",80
• Sending CIPSEND: AT+CIPSEND=168
What i've got is only:
Everything there is only response "SEND OK CLOSED"
I tried to change mode of ESP to server mode and there everything was fine.
My baud rate is 115200 and my firmware is updated to:
I'm fighting with that few days... Reading, searching, but nothing help :/
If someone had same problem and found solution, please, help me, because I spent a lot of time with that and this is for me very important.
I tried with CIPMUX=1, but response was same
@ EDIT
By the way - there will be big help, if someone could try to connect this website and tell me, if it works with another ESP
I have a problem with sending GET request to every websites. I tried to find any infromation what could be wrong, but I did not found for few days.
So... What I do is:
• change ESP8266 to client mode by AT+CWMODE=1,
• Connect to my WIFI by CWJAP,
• Connect to my website by AT+CIPSTART="TCP","31.220.16.138",80 (or ="TCP","wersjarobocza.hol.es",80
• Sending CIPSEND: AT+CIPSEND=168
Code: Select all
GET /requestdatabase.php?apples=200&oranges=230 HTTP/1.1\r\n\r\nHost: 31.220.16.138 \r\"Content-Length: 150 \r\nContent-Type:application/x-www-form-urlencoded;charset=utf-8\r\n
What i've got is only:
busy s...
SEND OK
CLOSED
OK
Everything there is only response "SEND OK CLOSED"
I tried to change mode of ESP to server mode and there everything was fine.
My baud rate is 115200 and my firmware is updated to:
AT+GMR
0020000903
compiled @ Nov 29 2014 14:08:27
I'm fighting with that few days... Reading, searching, but nothing help :/
If someone had same problem and found solution, please, help me, because I spent a lot of time with that and this is for me very important.
I tried with CIPMUX=1, but response was same
@ EDIT
By the way - there will be big help, if someone could try to connect this website and tell me, if it works with another ESP