Skip to main content

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 a query string.
2 - Data is publicly available (Data is in query string so the 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 the body as well in URL also.
2 – Data is secret for https otherwise public.
3 – There is no limit on the amount of data.
4 – It allows binary data also.
5 – caching is not possible.