REST API
A REST API is a web API that follows REST principles, using standard HTTP methods (GET, POST, PUT, DELETE) and URLs to let clients read and change data, usually as JSON.
General Programming
Each resource (like a user or product) has its own URL. The HTTP method describes the action: GET reads, POST creates, PUT updates, and DELETE removes — mapping neatly onto CRUD.
Examples
Pseudocode
GET /users -> list all users
GET /users/42 -> get user 42
POST /users -> create a user
DELETE /users/42 -> delete user 42Output:
Each URL and method targets a resource and action.