Skip to main content
sandeep
Visitor II
February 23, 2017
Question

WIFI HTTP POST issue for JSON data

  • February 23, 2017
  • 0 replies
  • 600 views
Posted on February 23, 2017 at 13:39

Hello, I am using STM wifi module to transmit data to server and the data is in JSON format. for transmitting data i am using HTTPPOST method. 

e.g. AT+S.HTTPPOST=requestb.in,/16oftr91,{'Data':'12345'}

Data is successfully getting transferred to server but the issue is when i checked content type of data on server it shows application/x-www-form-urlencoded. 

which is wrong. i think it should show application/jason because the data is in JSON format. 

So can anyone help me in this...

    This topic has been closed for replies.