logoalt Hacker News

mkleczeklast Monday at 1:31 PM2 repliesview on HN

Preferably, you would design you APIs and services to be idempotent (ie. use PUT not POST etc.)

Using idempotency identifier is the last resort in my book.


Replies

socketclusterlast Monday at 1:49 PM

Still, UUID is probably the simplest and most reliable way to generate such idempotency identifiers.

dparklast Monday at 8:00 PM

How is URI not an idempotency identifier for PUT?