- Create user
- User edit
- Delete user.
- HTTP method
- URL
- GET => Search for information in bank-end.
- POST => Create a resource on the backend.
- PUT => Update a resource on the backend.
- PATCH => Update specific information of a resource in the backend.
- DELETE => Delete a resource from the backend.
GET /USERS
POST /USERS
HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in five classes:
- Informational responses (100 – 199)
- Successful responses (200 – 299)
- Redirection messages (300 – 399)
- Client error responses (400 – 499)
- Server error responses (500 – 599)
- Query Parameters: URL Stateful => filters, pagination
http://localhost:3333/users?userId=1&name=Lucas
- Route Parameters: Identificação de recurso
- Request Body: Sending information from a form (HTTPS).
Get http://localhost:3333/users/1