Saturday, April 10, 2010

Difference between GET Method and POST Method

GET Method
  1. Target resource type is Active or passive
  2. Type of data is Text
  3. The amount of data handled by GET Method is not more than 255 characters.
  4. Data is part of the URL and is visible to the user in the URL field of browser.
  5. Data can be cached in the browser's URL History.
POST Method
  1. Target resource type is Active
  2. Type of data is Text as well as Binary
  3. The amount of data handled by POST Method is unlimited.
  4. Data is not a part of the URL and is sent as the request message body. It is not visible to the user in the URL field of browser.
  5. Data is not cached in the browser's URL History.

No comments:

Post a Comment