开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜