I have a HTTP PUT/POST method to update a document in the database. However, in certain conditions (for example, the input transaction timestamp is less than the timestamp on the document), the PUT/POST method does not apply the update. What is the appropriate HTTP status code to return in such cases, to notify the caller that the update did not happen?
Asked
Active
Viewed 56 times
0
-
You should look at [conditional requests](https://tools.ietf.org/html/rfc7232). – cassiomolin Mar 21 '19 at 16:41