Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Idempotency-Key HTTP header field. Parent comment
For that reason I do not support idempotent retries for public API calls.
For the authenitcated users, you cache/store the idempotency keys scoped by the currently authenticated user, i.e:
{user_id, idempotency_key}
{user_id, api_call_name, idempotency_key}
{user_id, api_call_name, input_args_hash, idempotency_key}
There are no comments on this comment yet.
For that reason I do not support idempotent retries for public API calls.
For the authenitcated users, you cache/store the idempotency keys scoped by the currently authenticated user, i.e:
You can add more parts to thie key for better security, i.e.: or even etc.