2 Replies Latest reply on Dec 7, 2016 12:20 AM by zhlic_1777891

    HTTP Post request question

      It is implemented with reference to the examples(https_client.c)

      below http get request code.

       

      "GET /test?a=1122334455&b=10&c=10 HTTP/1.1\r\n" \   

      "Host: \r\n" \

      "Connection: close\r\n" \

        "\r\n"

       

      But, my question is this code change post request.

       

      I'm changing below code try http server request

      "POST /test HTTP/1.1\r\n" \

      "Host: \r\n" \

      "Content-Length: 22\r\n"\

      "Connection: close\r\n" \

      "\r\n\r\n" \

      "a=1122334455&b=10&c=10" \

      "\r\n\r\n\r\n"

       

      parameter a,b,c sending,

      but the server has not checked parameter values.

       

      I'm using WICED SDK 3.3.1.