Cant send that simple post request .despaired !
Posted: Thu Jan 29, 2015 3:42 am
I have some post request in which i would like to send with the module, and get a JSON respond .
The request DOES works with any pc browser, but on the module i get "wrong syntax" when sent .
The request(which you can check on any browser) is this :
than the GET request is this :
which looks like this :
I have tried many configurations(with/without the HTTP etc), so please advice me on something you can check and get a JSON respond .
Thanks a lot !
The request DOES works with any pc browser, but on the module i get "wrong syntax" when sent .
The request(which you can check on any browser) is this :
Code: Select all
https://y4eI4XmKNT5D6MVtC565xkEjBAkggTlTMt1erNKv:javascript-key=NOkyJ0XBB4gdANXSCGE0slnH0QKXhZ5OPf7ma4Gk@api.parse.com/1/classes/DATA/TXcgRDCCRR
than the GET request is this :
Code: Select all
cmd="GET / HTTP/1.0\r\n HOST: https://y4eI4XmKNT5D6MVtC565xkEjBAkggTlTMt1erNKv:javascript-key=NOkyJ0XBB4gdANXSCGE0slnH0QKXhZ5OPf7ma4Gk@api.parse.com/1/classes/DATA/TXcgRDCCRR\r\n\r\n";
which looks like this :
Code: Select all
AT+CIPSTART=4,"TCP","api.parse.com",443
AT+CIPSEND=4,171
GET / HTTP/1.0
HOST: https://y4eI4XmKNT5D6MVtC565xkEjBAkggTlTMt1erNKv:javascript-key=NOkyJ0XBB4gdANXSCGE0slnH0QKXhZ5OPf7ma4Gk@api.parse.com/1/classes/DATA/TXcgRDCCRR
I have tried many configurations(with/without the HTTP etc), so please advice me on something you can check and get a JSON respond .
Thanks a lot !