-->
Page 4 of 5

Re: 400 Bad Request on CIPSEND long string

PostPosted: Tue Oct 13, 2015 12:19 pm
by Asadujjaman
can you please tell me how can i send request like this;

AT+CIPSEND=54
> GET /rec.php?a=56 HTTP/1.1
Host: shotlu.usrs0.com

I think "\r\n" is not working on this serial monitor
Code: Select allGET /rec.php?a=56 HTTP/1.1\r\nHost: shotlu.usrs0.com\r\n\r\nbusy s...

Re: 400 Bad Request on CIPSEND long string

PostPosted: Tue Oct 13, 2015 12:31 pm
by Rafael R
Wait 2-4 seconds after AT+CIPSEND
Your ESP is sending
busy s...


Try change the line end as "No line ending"

Re: 400 Bad Request on CIPSEND long string

PostPosted: Tue Oct 13, 2015 1:17 pm
by Asadujjaman
@Rafeal can you please give me your code, and which "board" you were used during running that code.

Re: 400 Bad Request on CIPSEND long string

PostPosted: Tue Oct 13, 2015 1:45 pm
by Rafael R
Hi @Asadujjaman

I am using Arduino Uno.

The code for your problem i suppose you will find on this topic:

http://www.esp8266.com/viewtopic.php?uid=11010&f=8&t=4497&start=0

Best regards