Create Read Update Delete CRUD, POST, GET, PUT/PATCH, DELETE Operation.

1

CRUD

CRUD stands for
Create Read Update Delete

01. In a REST environment, CRUD often corresponds to the HTTP methods GET, POST, PUT/PATCH, and DELETE.

Create  POST

Read     GET

Update PUT/PATCH

Delete   DELETE


02. In regards to its use in RESTful APIs, CRUD is the standardized use of HTTP Action Verbs.

This means that if you want to create a new record you should be using "POST".

If you want to read a record, you should be using "GET". To update a record used "PUT" or "PATCH", And to delete a record, use "DELETE."

Let's learn about HTTP verbs, There are many HTTP verbs we use in requests to interact with resources in a REST system;

Post a Comment

1 Comments
Post a Comment
To Top