We should define a few basic status code responses.
Suggestion:
- List: 200
- Read: 200
- Created: 201
- Update: 204
- Deleted: 204
- Login required: 401
- Resource not found: 404
- Validation error: 422
References:
https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
https://httpstatuses.com
We should define a few basic status code responses.
Suggestion:
References:
https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
https://httpstatuses.com