Gsm sim 900 post data to server

Status
Not open for further replies.

sneha.tm

Newbie level 6
Joined
Jul 15, 2014
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
65
Hi all,
please send the correct format to post http data to a server using GPRS.Im using sim900 module and STM32F100 Microcontroller.
My get function is ok.The only problem is while posting the data.Server is accepting the request and Im getting the response.But the data is not uploaded in the server.no data sent to the server.
Here's my code.

<POST /index.html HTTP/1.1>
< Host: www.......com>
<Accept:application/json>
<Content-Type:application/json>

Please help me.
Thanks in advance.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…