MVC Developer Question:

Tell us what is GET and POST Actions Types?

Tweet Share WhatsApp

Answer:

GET
GET is used to request data from a specified resource. With all the GET request we pass the URL which is compulsory, however it can take the following overloads.

.get(url [, data ] [, success(data, textStatus, jqXHR) ] [, dataType ] ).done/.fail


POST
POST is used to submit data to be processed to a specified resource. With all the POST requests we pass the URL which is compulsory and the data, however it can take the following overloads.

.post(url [, data ] [, success(data, textStatus, jqXHR) ] [, dataType ] )

Download MVC Developer PDF Read All 50 MVC Developer Questions
Previous QuestionNext Question
Tell us is it possible to combine ASP.NET webforms and ASP.MVC and develop a single web application?Tell us what is Bundling and Minification in MVC?