Tag: API
All the articles with the tag "API".
-
API Rate Limiting: Fixed Window, Sliding Window and Token Bucket
Series: Backend Interview Mastery
Learn API rate limiting for backend interviews: fixed and sliding windows, token bucket, Redis atomicity, 429 responses, and trade-offs.
-
Authentication vs Authorization: Backend Interview Guide
Series: Backend Interview Mastery
Master authentication vs authorization for backend interviews, including 401 vs 403, sessions, JWTs, API checks, and permission models.
-
How JWT Works: Header, Payload, Signature and Security
Series: Backend Interview Mastery
Learn how JWT works for backend interviews: header, payload, signature, expiry, validation, key rotation, and API security pitfalls.
-
HTTP Methods: GET vs POST vs PUT vs PATCH vs DELETE
Series: Backend Interview Mastery
Master HTTP methods for backend interviews: GET, POST, PUT, PATCH, and DELETE semantics, retries, caching, and API design trade-offs.
-
HTTP Status Codes Explained: 200, 404, 500 and More
Series: Backend Interview Mastery
Master HTTP status codes for backend interviews: 200, 201, 400, 401, 403, 404, 409, 429, 500, and 503 with API examples.
-
What Is CORS? Backend Guide to Preflight and Security
Series: Backend Interview Mastery
Learn what CORS is for backend interviews: browser origins, preflight requests, credential rules, safe headers, and production debugging.
-
What Is a REST API? Principles, Examples and Interview Questions
Series: Backend Interview Mastery
What is a REST API? Learn resource design, HTTP semantics, idempotency, and the interview answers backend engineers need.
-
REST API Error Handling Best Practices: Beginner Guide
Series: API and Backend Basics Series
Master REST API error handling with best practices for status codes, consistent payloads, retries, observability, and secure production APIs.
-
JWT vs Session Authentication: Complete Comparison
Series: API and Backend Basics Series
Learn JWT vs session authentication with security, scalability, revocation, cookies, refresh tokens, and real API use cases.
-
What Is JSON? Why It's Used in APIs
Series: API and Backend Basics Series
Learn what JSON is, how its syntax works, and why APIs use it for fast, language-independent data exchange.