Pages

Saturday, December 14, 2013

HTML->Difference between GET and POST methods

POST Method
In Post method we can send unlimited data(This limit is defined by server for example "post_max_size=20M" in Apache)

Data is not shown in URL so it is good for sensitive data

GET Method

In GET method this depends on browser for example IE8 can take about 2048 bytes of data i.e about 2KB

Data is shown in URL so not appropriate for sensitive data

No comments:

Post a Comment