API Design: REST Principles & URLs REST (Representational State Transfer) is an architectural style for designing networked APIs. A well-designed REST API is intuitive, consistent, and predictable. REST Constraints Clien…
ReadAPI Design: Auth, Versioning & Pagination Authentication Patterns # API Key — simple, good for server-to-server Authorization: Api-Key sk_live_abc123 X-API-Key: sk_live_abc123 # Bearer Token (JWT or opaque) Authorization…
ReadAPI Design: OpenAPI, Errors & Best Practices Error Response Format Consistent error responses make APIs easier to consume. Use RFC 7807 (Problem Details) or a similar structure. // RFC 7807 Problem Details (recommended) …
ReadAPI Design: Protocol Comparison Decision Matrix Protocol Transport Format Streaming Browser Best for REST HTTP/1.1 JSON ❌ (SSE) ✅ Public APIs, CRUD, simple resources GraphQL HTTP/1.1 JSON ✅ ✅ Flexible queries, BFF, multi…
ReadAPI Design: API Security OWASP API Security Top 10 identifies the most critical API vulnerabilities. Understanding these is essential for designing safe APIs. OWASP API Security Top 10 API1 — Broken Object Level Authoriz…
ReadSave this stack to your personal DevRecall — add your own notes, track what you're learning, and share what you know with the community.
Get started — free forever