### GET // Get all the users GET http://localhost:4000/users
### GET // Get single user by id GET http://localhost:4000/users/1
### POST // Create a new user POST http://localhost:4000/users Content-Type: application/json
- {
- "name": "john", "email": "[email protected]"
}
### PATCH // Update a user PATCH http://localhost:4000/users/1 Content-Type: application/json
- {
- "name": "newjohn", "email": "[email protected]"
}
### DELETE // Delete a user DELETE http://localhost:4000/users/1