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

API routes should disregard trailing slashes #10

Open
darkobits opened this issue Apr 1, 2024 · 0 comments
Open

API routes should disregard trailing slashes #10

darkobits opened this issue Apr 1, 2024 · 0 comments
Assignees

Comments

@darkobits
Copy link
Member

darkobits commented Apr 1, 2024

Note: This is just a test of GitHub's revamped Projects feature. It might be a better way to track, prioritize, and discuss future work compared to e-mail. Let's mess with it for a while and see if it proves useful, but don't take it too seriously. 😉

Issue:

  • Presently, if the user does not include a trailing slash when making a request to the API, they will get a redirect or a method not allowed error.

Deliverables:

  • A user should be able to make a request to an API route with or without a trailing slash and get the same response.
@darkobits darkobits changed the title API routes disregard trailing slashes API routes should disregard trailing slashes Apr 1, 2024
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

2 participants