What is REST? REST (Representational State Transfer) is an architectural style for designing networked
pplications. It uses standard HTTP methods to perform CRUD operations on resources,
which are typically represented as URLs.
✅ A RESTful API allows different systems (like frontend apps or mobile apps) to interact
with your server over HTTP in a stateless manner.
📌 Example:
- GET /users – Get all users
- POST /users – Create a new user
- PUT /users/1 – Update user with ID 1
- DELETE /users/1 – Delete user with ID 1