API Testing · Junior · Question 6 of 75

What is the difference between PUT and PATCH?

Show the answer

Correct answer: PUT replaces the whole resource, PATCH changes some fields

Explanation

Sending PUT with only one field may wipe the others, depending on the API. Testers check what happens to fields left out.

Further reading

Problem with a question

API Testing · Junior · question 6

Test yourself

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

Take this quiz