Get and Post Method

Get vs Post

Describe the basic differences between http methods post and get

Answer

POST Method:

  1. By default no proxy server or web browser is caching this data. You will always get the real data from your web server.
  2. The length of data you can send to the web server is only restricted by the web server itself, but there is no real restriction.
  3. Character encoding can be done easily using application
  4. The post method sends the data from the form within the body of the processing agent. This makes the post method secure and reliable when sending what might be sensitive data from one location to another.

GET Method:

  1. Running http request with GET can be cached on your web browser or a configured proxy server.
  2. To get the live data from you web server you have to modify the URL
  3. Maximum URL length is 2,083 characters in Internet Explorer
  4. The convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval
  5. Character encoding will reduce the amount of data that can be used because of URL encoding entities (Japanese characters)
  6. The Get method attaches the information to the URL and passes the information in a manner that can be seen by the user so is therefore not a secure method of passing sensitive data.
Tags:

Add a Comment

Your email address will not be published. Required fields are marked *