API Design · Senior · Question 60 of 75
Why might you provide official SDKs in addition to raw HTTP documentation?
- ✓Correct answer: SDKs can encode best practices (retries with backoff, idempotency keys, pagination helpers, auth refresh) so clients don't reimplement them badly
- 2SDKs are required for HTTPS
- 3Raw HTTP can't be documented
Explanation
The trade-off is maintenance per language; generated SDKs plus hand-written helpers are a common compromise.