Home Servlets GET and POST Method of HTTP



GET and POST Method of HTTP
Posted on: March 12, 2008 at 12:00 AM
The Get is one the simplest Http method. Its main job is to ask the server for the resource. If the resource is available then then it will given back to the user on your browser.

GET  and POST Method of HTTP

     

GET

The Get is one the simplest Http method. Its main job is to ask the server for the resource. If the resource is  available then then it will given back to the user on your browser. That resource may be a HTML page, a sound file, a picture file (JPEG) etc. We can say that get method is for getting something from the server. It doesn't mean that you can't send parameters to the server. But the total amount of characters in a GET is really limited. In get method the data we send get appended to the URL so whatever you will send will be seen by other user so can say that it is not even secure.

POST

The Post method is more powerful request. By using Post we can request as well as send some data to the server. We use post method when we have to send a big chunk of data to the server, like when we have to send a long enquiry form then we can send it by using the post method. 

There are few more rarely used http methods including HEAD, PUT, TRACE, DELETE, OPTIONS and CONNECT.

 

Related Tags for GET and POST Method of HTTP:
htmlchttpfilebrowserurlserverdataparameterssoundmethodusergetcharpagejpeglimitsourceparameterresourceappendaisecurejobappcharactersimplerowcharactersifforrowsctepicturemountsendtoramwsepicwseilmainitbacknotcanlimitusepeimfromcebrowseinnomlrealasmntparthincajestotalendallagepenpircmemeanotappparamackdossoeeatrackhtmishallmeterivmpleaaractsarvsimvattsimplestsecussthavstabablaphathateetcetcpleplpegmindonomo


More Tutorials from this section

Ask Questions?    Discuss: GET and POST Method of HTTP   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.