Difference between Get Method and Post Method in asp.net


Get Method
1 - Data will be arranged in the 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 the 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.


Related Posts

how to use coalesce in PostgreSQL?

To use the `COALESCE` function in PostgreSQL, follow these steps: 1. Start by writing a SELECT statement or any other query where you want t...