Chat freely about anything...

User avatar
By rant
#8452 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)

Code: Select allAT+CIPMUX=1
OK


Code: Select allAT+CIPSTART=4,"TCP","api.parse.com",443
OK
Linked


Code: Select all AT+CIPSEND=4,185
>


Code: Select allGET 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 allGET /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 ???