Blog author: Amitkpatel
| Posted on: 6/25/2012 | Category: ASP.NET Blogs
| Views: 757 | Status: [Member]
| Points: 75
| Alert Moderator
MCV4 have new feature is WEB API. CRUD stands for "Create, Read, Update, and Delete," which are the four basic database operations. Many HTTP services also model CRUD operations through REST or REST-like APIs.
Get a list of allproducts
The four main HTTP methods (GET, PUT, POST, and DELTETE) can be mapped to CRUD operations as follows: 1. GET retrieves the representation of the resource at a specified URI. GET should have no side effects on the server. 2. PUT updates a resource at a specified URI. PUT can also be used to create a new resource at a specified URI, if the server allows clients to specify new URIs. For this tutorial, the API will not support creation through PUT. 3. POST creates a new resource. The server assigns the URI for the new object and returns this URI as part of the response message. 4. DELETE deletes a resource at a specified URI.
Amit Kumar Patel
Found interesting? Add this to: