Idempotency for increment via PUT
How to achieve itempotency when incrementing a database column via PU开发者_StackOverflow社区T? (For example a credits-count in a purchase process)
Send a unique transaction id with every request, store all executed transaction ids and don't react to requests with a transaction id that you already saw.
精彩评论