Difference between GET and POST
Both methods are used for page submission
GET : Data is processed/encoded(by browser) in URL as a name value pair
Old browser has restriction of URL to 255 characters
Can be easily traced in the history of web browser.
Mainly used when we want to retrieve data.
As data transferred in URL so we need to do extra care of some characters like space and & etc,
POST : In post request, data is processed as a message body
Here we have not restriction of data size.
Mainly use when we need to submit, update large data.
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment