Back to course overview
Back-End Web APIs
HTTP and REST
Design routes around resources and HTTP methods, choose the right status code for every outcome, and validate JSON request bodies.
3 lessons ยท 1h 38m
- 19mREST resources and verbsReading
Design predictable API routes by naming resources in the URL and letting HTTP methods carry the action.
- 20mStatus codes and errorsReading
Pick the right HTTP status code for every outcome and return one consistent, safe error body.
- 59mJSON payloads and validationReading
Parse JSON request bodies and validate every field before your route uses it.