-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Motivation
Currently when the frontend gets resources from the backend, it targets routes like GET /parties, while FastAPI expects routes like GET /parties/ due to base routes being defined like .get("/"). FastAPI accounts for this by automatically redirecting requests to the correct route with a 307 status code, but this bogs down the network tab with redundant info.
Deliverables
- Change any occurrence of get/put/post/etc with the structure of
.get("/")to same structure as.get("")to prevent the redirect
Metadata
Metadata
Assignees
Labels
No labels