DigitalOcean API v2 and HTTP client retry: how to avoid duplicate droplet creation
Goal Design a retry strategy for POST /v2/droplets that guarantees at most one droplet is created, even when the client automatically resends a failed request. Constraints DigitalOcean’s v2 REST API does not expose idempotency headers for droplet creation. Rate‑limit responses (429) include a Retry‑After header but do not indicate whether the write has been