Status Codes and Headers
A response's three-digit status code tells the app how its request went before it reads a word of the body, its first digit names the family (2xx it worked, 3xx look elsewhere, 4xx the request has a problem, 5xx the server broke), and headers such as Content-Type tell the app how to read the body.
Updated

- Category
- FastAPI
- Level
- Apprentice
- Tags
- <header>, 200 OK, 400 Bad Request, 500 Internal Server Error, Content-Type, python, rest-api, Status Code, web-development