5 topics · 0/5 read
HTTP & API Design
How a request reaches your server, HTTP methods and status codes, REST design, CORS and cookies, and when to pick REST, GraphQL or gRPC.
What Happens When You Type a URL
What happens when you type a URL and press Enter is the most common opening question in backend interviews. The answer walks through DNS, TCP, TLS, the HTTP request, your server and the response, and shows the interviewe
Read nowHTTP Methods and Status Codes
HTTP methods and status codes are the vocabulary of every API. Interviewers check whether you know which methods are safe and idempotent, and whether you return the right status code instead of 200 for everything.
Read nowREST API Design
REST API design is about modelling resources as nouns, using HTTP methods as verbs, and keeping responses consistent. A clean, predictable API is what interviewers look for in API design rounds and take-home assignments.
Read nowCORS, Cookies and Important Headers
CORS, cookies and caching headers cause many real production bugs, so interviewers ask about them often. You should explain why the browser blocks a cross-origin call, what a preflight is, and how to set a secure session
Read nowREST vs GraphQL vs gRPC vs WebSockets
REST, GraphQL, gRPC and WebSockets solve different problems. Interviewers want to hear trade-offs: when one shape of API fits better, not that one is always best.
Read now