return better http error code on bad request #82

Open
opened 2 years ago by glitch4347 · 0 comments
glitch4347 commented 2 years ago (Migrated from github.com)
Owner

if you query http://localhost:8000/api/metric/?from=1635454639.156843&to=1635455304.7279196&step=1
you get 404, but better return "bad query" something

it also same for other errors which can happen in different cases of quering API

source: https://gitlab.com/hastic/hastic/-/issues/2

if you query http://localhost:8000/api/metric/?from=1635454639.156843&to=1635455304.7279196&step=1 you get 404, but better return "bad query" something it also same for other errors which can happen in different cases of quering API source: https://gitlab.com/hastic/hastic/-/issues/2
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.