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

Flask API endpoints shouldn't have the trailing slash #576

Closed
manassolanki opened this issue Jan 6, 2022 · 0 comments · Fixed by #577
Closed

Flask API endpoints shouldn't have the trailing slash #576

manassolanki opened this issue Jan 6, 2022 · 0 comments · Fixed by #577

Comments

@manassolanki
Copy link
Member

Flask auto-route the endpoint defined with a / in the end if called without the / in the end. This behaviour is creating problems if there is multi-layered deployment including the load-balancer or traffic router.

@manassolanki manassolanki changed the title Flask routes shouldn't have the trailing slash Flask API endpoints shouldn't have the trailing slash Jan 6, 2022
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

Successfully merging a pull request may close this issue.

1 participant