HTTP 428 Precondition Required
The server requires the request to be conditional in order to prevent the "lost update" problem. When a client performs a GET, modifies data locally, and then attempts a PUT without including a conditional header (If-Match, If-Unmodified-Since), another client may have modified the resource in the interim. The 428 status forces the use of conditional requests, preventing accidental overwrites in concurrent editing systems. It is a key building block of optimistic concurrency control in REST APIs — pair it with ETag on responses.
Part of GalacticaSuite Cosmos — open the API client to test requests.