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.

|