Google News
logo
API Testing - Interview Questions
What is the difference between PUT, POST, and PATCH?
PUT : Put request is used for both creating and updating a new object in the database. If the resource already exists, then Put will update the resource. If not, it will create one.
 
POST : Post request is used for creating a new object in the database. It allows clients to create resources without knowing the URI of the new resources.
 
PATCH : Patch is used to apply the partial modification to a resource.
Advertisement