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

JSON request validation to API #17

Open
pagan8 opened this issue Jun 27, 2015 · 0 comments
Open

JSON request validation to API #17

pagan8 opened this issue Jun 27, 2015 · 0 comments
Labels

Comments

@pagan8
Copy link
Contributor

pagan8 commented Jun 27, 2015

We shouldn't rely on the basic Express JSON validation, each of the received requests should be parsed and checked for constraints / valid data. If the data in the request is invalid, we should respond with 400 Bad Request...

@pagan8 pagan8 added the bug label Jun 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant