467,910 Members | 1,865 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,910 developers. It's quick & easy.

Client and Server basic HTTP commands help needed

Hi everyone,

i am an undergrad in physics.my thesis is about GPRS.i have a wireless module that sets up a connection to the internet. when i connect to the web server it can communicate using http protocols.my problem is i have no back ground on http protocols(GET,POST)..can anyone give me a hand regarding this protocols? a client POST and how the server handles this POST by the client would be helpful.can someone guide me? all i need is to set up a webserver that has a single
db table with about ten entities. and the value i pass from the client is stored to the table.i dont know how to accomplish this using just post method or get method.hope someone can help me
Mar 23 '07 #1
  • viewed: 1324
Share:
2 Replies
drhowarddrfine
Expert 4TB
GET should be used when you are querying a server while POST is used to post data to a server. POST data is sent after the HTTP headers and looks like this:
item1=data1&item2=data2&item3=data3

So a full HTTP header would look like this:
HTTP /1.1 POST
Content-Type=application/x-www-form-urlencoded
Content-Length=46 (number of characters)
POSTDATA=item1=data1&item2=data2&item3=data3

The actual RFC spec is here.

And after all that, I think you said you already post data so you are wondering how to handle the data once it gets to the server? If so, you need a programming language server side to handle that and you would need to determine which language you will use and ask on that board. What you are looking for is CGI programming.
Mar 23 '07 #2
sorry for getting back so late.we have a break at our school.thank you. it gave me a better idea.i will read on cgi.thank you very much.
Apr 11 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

88 posts views Thread by Mike | last post: by
15 posts views Thread by Michael Rybak | last post: by
4 posts views Thread by jas | last post: by
4 posts views Thread by Sue | last post: by
Atli
6 posts views Thread by Atli | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.