-
Notifications
You must be signed in to change notification settings - Fork 5k
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
"Not Found" api response needed instead of 404 #454
Labels
Comments
Hi @erolg Do you mean returning a json instead of a raw string ? Something like :
You can already handle the error using the returned status code ;-) |
As @samber said, traefik already returns a 404 status code. As there is no standard on how to format errors in a JSON response, I prefer to stay simple for now and use status codes :) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When we sent request that is not correct (typo, deleted backend etc.) return 404
``/api/providers/docker/backends/backend-whoam
-> 404
If it returns to "Not Found" json object, I think could be more usefull to handle response.
The text was updated successfully, but these errors were encountered: