What are the HTTP methods in REST API?

Discussion RoomCategory: Interview QuestionWhat are the HTTP methods in REST API?
Admin Staff asked 4 years ago

 

The HTTP method. Differing HTTP methods can be used on any endpoint which map to application create, read, update, and delete (CRUD) operations:

HTTP method CRUD Action
GET read returns requested data
POST create creates a new record
PUT or PATCH update updates an existing record
DELETE delete deletes an existing record
Scroll to Top