Feb 1, 2015

Difference between Get Method and Post Method in asp.net

Get Method

1 - Data will be arranged in HTTP header by appending to the URL as query string.
2 - Data is publicly available (Data is in query string so user can view the data).
3 – It can save only 4k data.
4 – Only ASCII character data type is allowed.
5 – Caching is possible.

Post Method

1 - Post data can be appended to body as well in url also.
2 – Data is secret for https otherwise public.
3 – There are no limit on the amount of data.
4 – It allows binary data also.
5 – caching is not possible.