-1

I want to send a couple of variables to a webpage in my server over the SIM908. Does anyone know how do send such data over POST protocol? I was able to complete the task using GET but currently nothing is working for POST.

JYelton
  • 34,119
  • 33
  • 145
  • 265
Denis
  • 1,265
  • 3
  • 17
  • 36
  • What is the POST protocol? Are you talking about the HTTP protocol? You say you can manage with GET, how did you do that? What are you trying with POST that doesn't work? –  Nov 22 '14 at 14:38

2 Answers2

1

Internet is mostly static for real time streaming try to change script variables so that every time they render with new values, this is the dynamic property.

You mean like this that is implemented with tcp/ip stack by Microchip.

In that the graphical data is varied with in the micro-controller and sent via networking protocols.

You may find something in that, then incorporate into your project and send using SIM908 with AT&T commands.

I recommend you to add some extra information about your project (if you want to).

Rev
  • 10,077
  • 7
  • 41
  • 77
0

SIM908 by SIMCom even though states it supports HTTP POST request, it supports only GET and not POST requests.

The only way around this is to send a set of carved TCP/IP packets that address a POST request.

I used wire-shark to capture the request done through my browser and stripped down the unnecessary information.

Afterwards, I included the same information in the "data" field of the TCP/IP packet addressed to the server. I successfully received the intended response.

Denis
  • 1,265
  • 3
  • 17
  • 36