REST
What is it?
REST (Representational State Transfer) is an architectural style for designing APIs. RESTful APIs use HTTP methods (GET, POST, PUT, DELETE) to perform CRUD operations on resources. They are stateless, which means each request contains all information needed to process it.
Practical example
A RESTful API for users: GET /api/users (list), GET /api/users/1 (specific user), POST /api/users (create), PUT /api/users/1 (update), DELETE /api/users/1 (delete).
Test your knowledge
Which HTTP method is typically used to create data in a REST API?