Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

Differences between GET and POST methods

, 29 Jul 2011
Rate this:
Please Sign up or sign in to vote.
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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Graeme_Grant
Technical Lead Blugrin
Australia Australia
No Biography provided

Comments and Discussions

 
GeneralReason for my vote of 5 Basic but useful Pinmemberhanzq@mainsoft.com.cn2-Aug-11 15:13 

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

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 29 Jul 2011
Article Copyright 2011 by Graeme_Grant
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid