API Testing · Middle · Question 15 of 75

What does If-Match with an ETag protect against?

Show the answer

Correct answer: Overwriting changes someone else made in between

Explanation

If the resource changed since the client read it, the server answers 412 Precondition Failed instead of silently losing an update.

Further reading

Problem with a question

API Testing · Middle · question 15

Test yourself

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

Take this quiz