Page 2 of 5
Re: 400 Bad Request on CIPSEND long string
Posted:
Fri Oct 02, 2015 9:24 am
by Rafael R
Thank you man!!!!!!!!!!!
Thank you everybody that help me!
Received:[HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/8.0
X-AspNetMvc-Version: 5.2
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: ”¥1 ’z�Ñ�2015 14:22:46 GMT
Content-Length: 8
Sucesso!
]
I also remove blank space!
Re: 400 Bad Request on CIPSEND long string
Posted:
Tue Oct 13, 2015 3:10 am
by Asadujjaman
@Rafeal what did you change for that 400 bad request, I am sending this url "GET /receiver.php?apples=56&oranges=23 HTTP/1.1\r\nHost: shotlu.usrs0.com\r\n\r\n" and got that 400 bad request, can you please tell what i need to change here ?
Re: 400 Bad Request on CIPSEND long string
Posted:
Tue Oct 13, 2015 7:24 am
by Rafael R
Hi @Asadujjaman ,
i didn't see anything wrong on your http request.
When i was testing the ESP8266 i was using Fiddler. You could download Fiddler and try to test your http request.
One question...the service on browser works? /receiver.php?apples=56&oranges=23
Re: 400 Bad Request on CIPSEND long string
Posted:
Tue Oct 13, 2015 7:40 am
by Rafael R
Sorry @Asadujjaman i tried your service, it's working fine.
Could you post your code?
Are you using Arduino IDE?
I noticed that the latest version of the Arduino IDE consuming less memory and some code work better.
The Http request generated by Fiddler:
GET /receiver.php?apples=1&oranges=1 HTTP/1.1
Could you try this request?