It would include the following APIs using MVC pattern
Get all users list
- /users - For Web return HTML
- api/users - For Mobile applications, return JSON
Post
-
GET/users/1 - Get the user with ID 1
-
POST/users - Create the new user
-
PATCH/users/1 - Edit the user with ID 1
-
DELETE/users/1 - Delete the user with ID 1
-
:id Means dynamic variable