In RESTful service, we can perform all types of CRUD (Create, Read, Update, Delete) Operation. In REST architecture, it is suggested to have a specific Request Verb or HTTP verb on the specific type of the call made to the server. Popular Request Verbs or HTTP Verbs are mentioned below:
1. HTTP Get:
GET is used to request data from a specified resource.
GET is one of the most common HTTP methods.
2. HTTP Post:
POST is used to send data to a server to create/update a resource.
POST is used to send data to a server to create/update a resource.
3. HTTP Put:
PUT is used to send data to a server to create/update a resource.
PUT is used to send data to a server to create/update a resource.
4. HTTP Delete:
The DELETE method deletes the specified resource.
0 comments:
Post a Comment