Difference Between GET and POST methods

The difference between GET and POST request is as follows :

No. GET POST
1In GET request data is sent within URL string.In POST request data is sent within request body.
2Get request can send only limited amount of data.With POST request we can send Large amount of data.
3Get request is not secured because data is exposed in URL bar.Post request is secured because data is not exposed in URL bar.
4Get request can be bookmarked.Post request cannot be bookmarked.
5GET is mostly used for view purpose (e.g. SQL SELECT).POST is mainly use for update purpose (e.g. SQL INSERT or UPDATE).


Next Topic :

No comments:

Post a Comment