Click here to Skip to main content
Click here to Skip to main content

Differences between GET and POST methods

By , 29 Jul 2011
 

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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Graeme_Grant
Marketing
Australia Australia
Member
No Biography provided

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
GeneralWhat kind of example are you looking for?memberGraeme_Grant3 Aug '11 - 13:45 
What kind of example are you looking for?
GeneralReason for my vote of 4 Need example. Where can I find examp...memberarun_sabat2 Aug '11 - 21:48 
Reason for my vote of 4
Need example. Where can I find example on this?
GeneralReason for my vote of 5 Basic but usefulmemberhanzq@mainsoft.com.cn2 Aug '11 - 15:13 
Reason for my vote of 5
Basic but useful
GeneralReason for my vote of 5 Concise and usefulmemberWesMcGJr2 Aug '11 - 8:35 
Reason for my vote of 5
Concise and useful
GeneralReason for my vote of 5 Thank youmemberBrianBissell1 Aug '11 - 16:28 
Reason for my vote of 5
Thank you

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Permalink | Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 29 Jul 2011
Article Copyright 2011 by Graeme_Grant
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid