Cant send post/get requests
Posted: Thu Jan 22, 2015 6:11 am
Hi.
I have spend a day , trying to send a simple request to a server (3rd) but i couldn't do that .
So the module is working great, and i even get to the point where i do :
AT+CIPSTART=4,"TCP","api.server.com",443
I get "linked"
AT+CIPSEND=4,165
I get " > "
Than i am trying to form a get request to read a line from a data base, so i have this API which works great on a browser, but i cant seems to send that same one on the module.
the API request is-which works on a browser is :
https://xxxxxxxxNT5D6MVtC565xkEjBAkggTl ... TXcgRDCCRR
and i was trying to do it with :
GET /xxxxxXxxNT5D6MVtC565xkEjBAkggTlTMt1erNKv:javascript-key=xxxxxxxxB4gdANXSCGE0slnH0QKXhZ5OPf7ma4Gk@api.parse.com/1/classes/DATA/TXcgRDCCRR HTTP/1.0\r\n\r\n
I always get errors.
How do you use the module to send a regular http requests ,exactly how you do in a browser ?
Thanks a lot .
I have spend a day , trying to send a simple request to a server (3rd) but i couldn't do that .
So the module is working great, and i even get to the point where i do :
AT+CIPSTART=4,"TCP","api.server.com",443
I get "linked"
AT+CIPSEND=4,165
I get " > "
Than i am trying to form a get request to read a line from a data base, so i have this API which works great on a browser, but i cant seems to send that same one on the module.
the API request is-which works on a browser is :
https://xxxxxxxxNT5D6MVtC565xkEjBAkggTl ... TXcgRDCCRR
and i was trying to do it with :
GET /xxxxxXxxNT5D6MVtC565xkEjBAkggTlTMt1erNKv:javascript-key=xxxxxxxxB4gdANXSCGE0slnH0QKXhZ5OPf7ma4Gk@api.parse.com/1/classes/DATA/TXcgRDCCRR HTTP/1.0\r\n\r\n
I always get errors.
How do you use the module to send a regular http requests ,exactly how you do in a browser ?
Thanks a lot .