Module 1
HTTP and APIs: the basics
Explain what happens in a request and a response, and read both with confidence.
- Clients, servers and APIs: REST in simple words
- URLs, paths, query parameters and the request body
- Methods: GET, POST, PUT, PATCH, DELETE and what 'safe' and 'idempotent' mean
- Status codes by family: 2xx, 3xx, 4xx and 5xx, and the ones you see most
- Headers: Content-Type, Accept, Authorization, caching and CORS at a high level
- JSON as the common data format
Browser DevToolsA public practice API such as JSONPlaceholder or httpbin
Practice: Use DevTools to record the requests a real web app makes and explain three of them
