Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 347 Bytes

File metadata and controls

30 lines (23 loc) · 347 Bytes

Day 36: REST API Development


REST Principles:
- Client-Server
- Stateless
- Cacheable
- Uniform interface
- Layered system

HTTP Methods:
- GET: Retrieve
- POST: Create
- PUT: Update
- DELETE: Delete
- PATCH: Partial update

Status Codes:
- 200: OK
- 201: Created
- 400: Bad Request
- 404: Not Found
- 500: Server Error