Skip to content
This repository has been archived by the owner on May 18, 2018. It is now read-only.

Provide validation for all API input #10

Open
jwreagor opened this issue Mar 1, 2018 · 0 comments
Open

Provide validation for all API input #10

jwreagor opened this issue Mar 1, 2018 · 0 comments

Comments

@jwreagor
Copy link
Contributor

jwreagor commented Mar 1, 2018

We need to enforce a schema for data being input into the API. Things such as AccountId should never be allowed as input, integers should not be strings, etc. Failing validation should return a proper HTTP status code as well, probably a 400 Bad Request.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant