Guided Course · Phases 05–06

HTTP & REST Engineering

Use browser DevTools and raw requests to understand the protocol your frontend and backend actually speak.

Track project: Ship the First Frontend-to-API Vertical Slice. Finish the lessons, then close the transcript and build the project using evidence instead of copy-paste. Open project →
01

URLs and HTTP Methods

Here’s the simple reason this matters: This lesson is about URLs and HTTP Methods. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that the URL identifies the resource/query while GET communicates a read operation. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 1987 words
02

Headers

Here’s the simple reason this matters: This lesson is about Headers. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that headers carry metadata such as representation preferences and credentials separately from the resource body. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 1888 words
03

Bodies and JSON

Here’s the simple reason this matters: This lesson is about Bodies and JSON. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that the request body carries the new resource input and its media type is declared explicitly. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 1972 words
04

2xx Success Semantics

Here’s the simple reason this matters: This lesson is about 2xx Success Semantics. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that different 2xx codes communicate different successful outcomes to clients. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 1935 words
05

4xx Client Errors

Here’s the simple reason this matters: This lesson is about 4xx Client Errors. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that 4xx codes describe request/client-side conditions that the caller may need to change. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 1967 words
06

5xx Server Errors

Here’s the simple reason this matters: This lesson is about 5xx Server Errors. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that 5xx means the server or an upstream dependency could not fulfill an otherwise valid request. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 1972 words
07

Query Parameters

Here’s the simple reason this matters: This lesson is about Query Parameters. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that query parameters refine a collection request without changing the resource path identity. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 1910 words
08

Path Parameters

Here’s the simple reason this matters: This lesson is about Path Parameters. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that the path identifies one task resource; the API should validate the identifier before querying. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 1919 words
09

Idempotency

Here’s the simple reason this matters: An idempotent operation can be repeated without creating additional unintended effects. This matters when networks retry requests. In this course, we connect it directly to the HTTP contract between browser, Next.js, NestJS, and external clients, so you can see where the idea lives in a real project instead of memorizing a definition.

≈ 1776 words
10

REST Resource Design

Here’s the simple reason this matters: This lesson is about REST Resource Design. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that resource-oriented URLs name domain nouns; HTTP methods communicate the action. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 1944 words
11

Pagination Contracts

Here’s the simple reason this matters: This lesson is about Pagination Contracts. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that the response exposes enough continuation metadata for the client to request the next stable page. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 1931 words
12

CORS

Here’s the simple reason this matters: CORS is a browser-enforced policy controlling whether frontend JavaScript from one origin may read responses from another origin. It is not authentication. In this course, we connect it directly to the HTTP contract between browser, Next.js, NestJS, and external clients, so you can see where the idea lives in a real project instead of memorizing a definition.

≈ 1801 words
13

Cookies vs Bearer Tokens

Here’s the simple reason this matters: Cookies are automatically attached by the browser according to cookie rules; bearer tokens are explicitly placed in an Authorization header. Each has different CSRF and storage trade-offs. In this course, we connect it directly to the HTTP contract between browser, Next.js, NestJS, and external clients, so you can see where the idea lives in a real project instead of memorizing a definition.

≈ 1914 words
14

Network DevTools

Here’s the simple reason this matters: This lesson is about Network DevTools. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that devTools gives direct evidence of what crossed the browser/network boundary instead of requiring guesses from UI symptoms. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 1953 words
15

API Error Envelopes

Here’s the simple reason this matters: This lesson is about API Error Envelopes. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that clients receive a stable machine-readable code, human-safe message, and correlation identifier without raw stack traces. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 1969 words
16

First Next.js → NestJS Vertical Slice

Here’s the simple reason this matters: This lesson is about First Next.js → NestJS Vertical Slice. Keep the idea practical: in the HTTP boundary between clients and the API, the worked example should show that the first vertical slice crosses the actual frontend/API boundary and is verified in browser DevTools plus API logs. Once you can explain why that happens, the name is much easier to remember. We connect it to the course project so you can see the idea working instead of memorizing a definition.

≈ 2121 words
Track knowledge check

Check the mental models before the project

Answer from memory. If two options sound similar, explain the boundary difference before choosing.

0/0 correct · 0/10 answered
01Which statement best explains “URLs and HTTP Methods” in this track?
02Which statement best explains “Headers” in this track?
03Which statement best explains “Bodies and JSON” in this track?
04Which statement best explains “2xx Success Semantics” in this track?
05Which statement best explains “4xx Client Errors” in this track?
06Which statement best explains “5xx Server Errors” in this track?
07Which statement best explains “Query Parameters” in this track?
08Which statement best explains “Path Parameters” in this track?
09Which statement best explains “Idempotency” in this track?
10Which statement best explains “REST Resource Design” in this track?
Ready to transfer the skill?

Ship the First Frontend-to-API Vertical Slice

Connect the web app to the API and use browser/network evidence to understand the complete HTTP exchange.

Start track project →