GL868-DUAL HTTP ISSUE

8 thoughts on “GL868-DUAL HTTP ISSUE

  1. Dear Sir,

     

    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.

     

    Regards,
    Diwakar

     

     

  2. Dear Sir,

     

    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.

     

     

    Regards,

    Diwakar

     

     

  3. Hello Diwakar,

    This is an example of a HTTP POST:

    POST /post.php?dir=MyDIR HTTP/1.1
    Connection: close
    Host: test.com
    Content-Type: application/x-www-form-urlencoded
    Content-Length:  16

    1234567890123456

    And this is the same POST, but converted to AT commands:

    AT#HTTPCFG=1,"test.com"
    OK
    AT#HTTPSND=1,0,"/post.php?dir=MyDIR",16,"0"
    >>> 1234567890123456

    OK

     

      1. Hello Taj

         

        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"

         

        Thanks, Tom