| GET | POST | 
|---|---|
| Parameters are visible in browser | Parameters are not visible in browser | 
| Parameters can be found in browser history because parameters are part of URL | Parameters are not part of URL. So not saved in browser history | 
| we can create bookmark | We cannot create bookmark | 
| Request of Get are re-executed but may not be resubmitted to server if HTML is stored in browser cache. | In Post request the browser alert the user that the data will need to be re-submitted | 
| application/x-www-form-urlencoded | multipart/x-www-form-urlencoded/form-data or application.It Uses multipart encoding for binary data. | 
| parameter data is limited due to limitations of URL length.We can only send data as query string. | Parameter data is much more than the GET method.Also we can send uploading files data, Object,Array,List to server directly. | 
| Easy to hack | Very difficult to hack | 
| Only ASCII character are allowed | No Restriction we can send binary data also. | 
| Can be cached | Cannot be cached | 
| Maximum Size is 7606 characters | Maximum Size is of 8mb data. | 
Saturday, 7 February 2015
Difference between GET and POST
Labels:
ASP.Net
Subscribe to:
Post Comments (Atom)




 
No comments:
Post a Comment