473,508 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Client and Server basic HTTP commands help needed

7 New Member
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
2 1447
drhowarddrfine
7,435 Recognized Expert Expert
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
jayhunters14
7 New Member
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

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

Similar topics

7
3280
by: rdh | last post by:
Hi all, I am in process of developing a Server in C++ supporting multiple protocols. The server will be exposing various functionalities, and the clients can communicate over any of the...
88
12320
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
15
4449
by: Michael Rybak | last post by:
hi, everyone. I'm writing a 2-players game that should support network mode. I'm now testing it on 1 PC since I don't have 2. I directly use sockets, and both client and server do...
4
9410
by: jas | last post by:
I have a basic client/server socket situation setup....where the server accepts a connection and then waits for commands. On the client side, I create a socket, connect to the server...then I...
4
1612
by: Sue | last post by:
ASP.NET web application, data grid with several fields (Labels), table below the datagrid with several textboxes and dropdown lookup tables. When a user clicks on the "Select" button in datagrid,...
4
1227
by: Webster | last post by:
Hello, What's the best way to run a client-server interaction using some standardized protocol such as nntp?? That is, should you run a thread that just does a receive loop from the server so...
1
16717
by: LP | last post by:
Hello, I am really hoping someone can help me here. I have a web service running on Win 2003 IIS 6.0, and VB6 client connecting to it with the use of Soap Toolkit. Everything worked fine until I...
2
5164
by: thilandeneth | last post by:
i need to do telnet via a web server please give me a idia to initiate the project following requirements are needed 1 Create web based custom telnet client to communicate with remote...
6
38453
Atli
by: Atli | last post by:
This is an easy to digest 12 step guide on basics of using MySQL. It's a great refresher for those who need it and it work's great for first time MySQL users. Anyone should be able to get...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7118
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7323
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7493
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5049
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4706
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1550
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.