API Design · Middle · Question 19 of 75

Two clients edit the same document. How can an API prevent one from silently overwriting the other?

Explanation

The client then reloads, merges or asks the user. 428 Precondition Required can force clients to send If-Match.

Further reading

Problem with a question

API Design · Middle · question 19

Test yourself

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

Take this quiz