What is HTTP GET and HTTP POST in MVC?

What is HTTP GET in MVC?

HTTPGet method helps to create a query string of the name-value pair whereas the HTTPPost method passes the name and value pairs in the body of the HTTP request. HTTPGet request has a limited length and mostly it is limited to 255 characters long whereas HTTPPost request has no maximum limit.

What is HTTP POST in MVC?

HTTPPost method helps to hide the information from the URL and does not bind data to the URL. It is more secure than HttpGet method but it is slower than HttpGet. It is very useful when you are passing sensitive information to the server.