API Design · Junior · Question 5 of 75

What's the difference between PUT and PATCH?

Explanation

With PUT, missing fields mean 'remove or reset'. PATCH changes only what's sent, e.g. using JSON Merge Patch.

Further reading

Problem with a question

API Design · Junior · question 5

Test yourself

Take the API Design · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz