HTTP, HTTPS and TLS
HTTP (HyperText Transfer Protocol) is the language browsers and servers speak. Backend and full-stack interviews ask about it every time: GET against POST, which status code means what, why HTTP is called stateless, how cookies and caching work, what HTTPS adds, and how HTTP/2 and HTTP/3 differ from HTTP/1.1. These are practical questions: you will meet them in every API you build.
After this section you can pick the right method and status code, explain statelessness and cookies, describe cache headers, explain what TLS gives you, and say in one line what changed in each HTTP version.
Topics in this section
- Request, response and statelessness
- Methods: safe and idempotent
- Status codes
- Cookies and sessions
- Caching
- HTTPS and TLS
- HTTP/1.1, HTTP/2 and HTTP/3
- WebSocket