Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Servlets GET and POST Method of HTTP

Related Tutorials


 
 

Share on Google+Share on Google+

GET and POST Method of HTTP

Advertisement
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.

 

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: March 12, 2008

Related Tutorials

Discuss: GET and POST Method of HTTP   View All Comments

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:8
Ugesh Maggu
June 5, 2011
explanation

Need more explanation because it's really simple defined.
Anindya Maiti
June 28, 2011
Computer Science

Your tutorials help me a lot to learn new concepts.Thnx,,,keep posting.
raj
August 22, 2011
cor java

ai am a student
pra
September 14, 2011
Reg:Https encryption

Hi , I have a doubt that in HTTPS is the data transferred is encrypted???or is the channel in which data travels is encrypted with data being not encrypted???? thanks, pra
mahesh
February 28, 2012
web designing

I like this subject because, they are a practically subject.
shaeeb
March 7, 2012
good review

i liked your description!! Thanks!
Shashikant
September 14, 2012
Test Your Guestbook

This is a very good site
babusona
September 20, 2012
Get and Post method on mobile platform

Is the functionality of get and post method is same in embedded platform,if we are using http network.
DMCA.com