Bool path argument from swagger UI not found in the request [duplicate]
This question already has an answer here: Question mark in POST method using FastAPI returns 404 error (1 answer) Closed 14 days ago. I have a FastAPI endpoint: @router.post(“/”) def create_vacation( request: fastapi.Request, paid: bool = False, ) -> None: print(request.url, paid) In the swagger, the url showed is: http://127.0.0.1:880/vacation/?paid=true and the cURL cmd: curl […]