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

Return 404 on unknown queries #46

Open
jacebrowning opened this issue Jul 15, 2018 · 0 comments
Open

Return 404 on unknown queries #46

jacebrowning opened this issue Jul 15, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@jacebrowning
Copy link
Member

We should only return an empty response when we recognize all parts of a query.

These queries should return a 404 with an error message:

  • /api/ballots/?election_id=999999
  • /api/ballots/?precinct_county="Not A Real Place"
@jacebrowning jacebrowning self-assigned this Jul 15, 2018
@jacebrowning jacebrowning added enhancement New feature or request and removed backlog labels Oct 29, 2019
@jacebrowning jacebrowning removed their assignment Nov 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant