REST API Method

GET -  Gets a resource

POST -  Creates a resource

PUT - Updates the record. (User needs to send entire JSON with the field to be updated)

PATCH - Updates the record. But user does not have to send entire JSON in request url

DELETE -  Deletes a resource

Comments

Popular posts from this blog

Jenkins CICD in One Page

Why do we need a build tool?

Deutsche Bank Interview Questions - 2024