I am using GL868-DUAL module (10.00.187), I am trying to send and receive data using http dedicated AT command.
I am able to read data from HTTP server, but when i am trying to post data aver http server, Please find attached log file.
Please let me know, If i am doing some thing wrong.
If you are not using flow control set AT&K0.
I am not using flow control.
Kindly find attached HTTP send and received log file. you also can test same HTTP server.
Please let me know, What am I doing wrong.
Waiting for your reply.
This is an example of a HTTP POST:
POST /post.php?dir=MyDIR HTTP/1.1Connection: closeHost: test.comContent-Type: application/x-www-form-urlencodedContent-Length: 16
And this is the same POST, but converted to AT commands:
Thanks for your reply.
Can you please explain what is the practical purpose and effect of the last "0" in your example:AT#HTTPSND=1,0,"/post.php?dir=MyDIR",16,"0"
This is <post_param> used for POST Content-Type header.
Hit enter to search or ESC to close
Knowledge Base & Download Zone