Back to News
Advertisement
Advertisement

⚑ Community Insights

Discussion Sentiment

50% Positive

Analyzed from 102 words in the discussion.

Trending Topics

#key#apis#attempt#retry#ringo#adorable#crafty#stard#birrell#nelson

Discussion (2 Comments)Read Original on HackerNews

rayolearyβ€’about 1 hour ago
Ringo is adorable, the crafty b@stard!
mendapiβ€’about 1 hour ago
The Birrell/Nelson call identifier find is great. One thing that still surprises me is how inconsistent idempotency key semantics are across modern APIs, forty years later. Stripe stores the first response and replays it for 24h, even if the first attempt was a 500. Some other payment APIs only dedupe successful requests, so a retry after a failure creates a brand new attempt. Same header name, very different contracts. The scary part is these details usually live in one paragraph of prose in the docs, not in the OpenAPI spec, so client generators and retry middleware have no way to know about them. I have been bitten by a provider quietly changing their key retention window in a changelog nobody read.