What is GET and POST Actions Types?

Category: C SharpWhat is GET and POST Actions Types?
Editor">Editor Staff asked 2 years ago

What is GET and POST Actions Types?

1 Answers
Editor">Editor Staff answered 2 years ago

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 ] )