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 a better error page for 405 #164

Open
dougthor42 opened this issue Jul 9, 2019 · 0 comments
Open

Return a better error page for 405 #164

dougthor42 opened this issue Jul 9, 2019 · 0 comments

Comments

@dougthor42
Copy link
Owner

When the user manually types in /api/v1/data and attempts a GET, a 405 Method Not Allowed is returned.

Instead, a helpful page should be displayed. Something along the lines of "You can't use here, it only supports <SUPPORTED_METHODS>. Perhaps you meant to go to X?"

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

No branches or pull requests

1 participant