01APIs & Protocols
APIs & Protocols
Request, response and the contract in between — the beat this domain was built on.
01
From the desk
APIs & ProtocolsImplementing idempotency keys in a REST API requires more than just deduplicating on key - it demands storing enough detail to reject mismatched retries and safely handle concurrent…
APIs & ProtocolsAs a developer, you've likely hit a code review where two hardworking colleagues spar over which HTTP status code to return for a rejected request. Is it 409 (Conflict) or 422…
APIs & ProtocolsWhen creating an error JSON, most engineers start by copying a format from a previous project. Over time, this casual practice leads to a proliferation of custom error shapes in every…
- 04
APIs & ProtocolsDesigning a client-readable rate-limiting policy for a public API requires sending the right headers at the right time. While the standard HTTP status code is 429 Too Many Requests, RFC…
- 01
APIs & ProtocolsPoker platforms move real money. They fight fraud every day. If their sessions fail, chips and cash can vanish. APIs face the same risks. A weak session lets an attacker…
- 02
APIs & ProtocolsHAL is a simple format that gives a consistent and easy way to hyperlink between resources in your API.