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

Fatal Error: Peer authentication failed for user "postgres", when trying to get pgsql working with rails.

Problem: Sometimes, we get the following error when trying to make a connection in Rails.  FATAL ERROR: Peer authentication failed for us...