Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Differences between GET and POST methods

0.00/5 (No votes)
29 Jul 2011 1  
GET method:Data is appended to the URL. - correctData is publicly available. - correctIt is a single call system. - GET/POST/PUT methods both send and receive response/dataMaximum data that can be sent is 256. - browser dependant up to 4KData transmission is faster. - GET/POST/PUT...

GET method:



  1. Data is appended to the URL. - correct
  2. Data is publicly available. - correct
  3. It is a single call system. - GET/POST/PUT methods both send and receive response/data
  4. Maximum data that can be sent is 256. - browser dependant up to 4K
  5. Data transmission is faster. - GET/POST/PUT methods all transmit at the same speed
  6. This is the default method for many browsers. - For non-form based data only

POST method:



  1. Data is not appended to the URL. - POST data can either be appended to the URL or in body
  2. Data is secret. - only for https sessions otherwise is public
  3. It is a two call system. - GET/POST/PUT methods both send and receive response/data
  4. There is no limit on the amount of data. That is, any amount of data can be sent. - correct
  5. Data transmission is comparatively slow. - GET/POST/PUT methods all transmit at the same speed
  6. No default and should be explicitly specified - it is possible to transmit POST data on a GET method

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here