ESP8266 bug sending GET request
Posted: Thu Jan 29, 2015 8:23 am
After spending days and days, trying to construct an authenticated request to a server, i am starting to understand
that the module may have some strange problem with long requests .
I have some http request that works in any "http consul" , but on the module, you always get syntax error before the request even sent!
So, its not that you dont get respond, its the module that is just not sending the request .
(chip is connected to the internet,and i run this commands in the Arduino monitor)
So you get 3 things : wrong syntax , error , than send ok . wtf ???
It seems that there is some internal problem with it , that wouldn't let it send things to the net .
the request that works in any consul is :
What can you do with this module if you cant connect to almost any website/server ???
that the module may have some strange problem with long requests .
I have some http request that works in any "http consul" , but on the module, you always get syntax error before the request even sent!
So, its not that you dont get respond, its the module that is just not sending the request .
(chip is connected to the internet,and i run this commands in the Arduino monitor)
Code: Select all
AT+CIPMUX=1
OK
Code: Select all
AT+CIPSTART=4,"TCP","api.parse.com",443
OK
Linked
Code: Select all
AT+CIPSEND=4,185
>
Code: Select all
GET https://api.parse.com/1/classes/DATA/TXcgRDCCRR\r\nX-Parse-Application-Id: y4eI4XmKNT5D6MVtC565xkEjBAkggTlTMt1erNKv\r\nX-Parse-REST-API-Key: KCf4NA2tvhBnIr33Vt8287m4AuhMVqvacsVeB4O0
wrong syntax
ERROR
SEND OK
So you get 3 things : wrong syntax , error , than send ok . wtf ???
It seems that there is some internal problem with it , that wouldn't let it send things to the net .
the request that works in any consul is :
Code: Select all
GET /https://api.parse.com/1/classes/DATA/TXcgRDCCRR
X-Parse-Application-Id: y4eI4XmKNT5D6MVtC565xkEjBAkggTlTMt1erNKv
X-Parse-REST-API-Key: KCf4NA2tvhBnIr33Vt8287m4AuhMVqvacsVeB4O0
What can you do with this module if you cant connect to almost any website/server ???