Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign status codes for responses from REST layer #89

Open
shishkovilja opened this issue May 9, 2019 · 4 comments
Open

Assign status codes for responses from REST layer #89

shishkovilja opened this issue May 9, 2019 · 4 comments
Labels
back Back-end enhancement New feature or request

Comments

@shishkovilja
Copy link
Collaborator

For example, for add (POST) request response should be 201 (CREATED) in case of entity addition, and 400 (BAD REQUEST), in case of errors. For GET, in case of entity absence, we should return 404 status code (NOT FOUND)

@shishkovilja shishkovilja added enhancement New feature or request back Back-end labels May 9, 2019
@shishkovilja
Copy link
Collaborator Author

Done for Customer

@shishkovilja
Copy link
Collaborator Author

Done for CustomerRequestStage

@shishkovilja
Copy link
Collaborator Author

Done for CustomerRequestStageName

@shishkovilja
Copy link
Collaborator Author

Done for Operator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back Back-end enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant