0:00
0% complete
LearnStep 1 of 3
HTTP Status Codes
Learning Objectives
- •Use correct status codes
- •Set custom headers
- •Understand HTTP semantics
Lesson Outline
LearnStep 1/3
HTTP Status Codes
python
Common Status Codes
| Code | Meaning | Use Case |
|---|---|---|
| 200 | OK | Successful GET/PUT |
| 201 | Created | Successful POST |
| 204 | No Content | Successful DELETE |
| 400 | Bad Request | Invalid input |
| 404 | Not Found | Resource missing |
| 422 | Unprocessable | Validation failed |