Tuesday, October 11, 2011

Difference between GET and POST methods


Get:
        1. Get() method append data in URL separated by question mark( ? ) .
        2. Using Get() we can send maximum of 2kb data.
    3. If we are redirecting to a page using Get() method then we can bookmark that page.
    4. This method is unsecure.
Post:
        1. In Post() method data is send via packets.
  2. There is no limitation on the size of data
    3. If we are redirecting to a page using Post() method we can't bookmark that page.
    4. This method is secure.

No comments:

Post a Comment