About 50 results
Open links in new tab
  1. Python FastAPI base path control - Stack Overflow

    Dec 3, 2021 · When I use FastAPI , how can I sepcify a base path for the web-service? To put it another way - are there arguments to the FastAPI object that can set the end-point and any others I define, to …

  2. FastAPI/uvicorn not working when specifying host [duplicate]

    The FastAPI/uvicorn server is not working when specifying the host.

  3. Python FASTAPI shedule task - Stack Overflow

    Jul 22, 2022 · 10 I want to write a task that will only run once a day at 3:30 p.m. with Python FASTAPI. How can I do it? I tried this but it works all the time.

  4. python - How can I install fastapi properly? - Stack Overflow

    Dec 26, 2021 · How can I install fastapi properly? Asked 4 years, 3 months ago Modified 6 months ago Viewed 26k times

  5. FastAPI CORS error despite correctly configured CORSMiddleware

    Aug 20, 2025 · The code works locally but when I put it on an EC2 machine and change the CORS origins accordingly it fails. I've checked the URL for 2 hours straight. I copied and pasted it from the …

  6. How to customize error response in FastAPI? - Stack Overflow

    Feb 2, 2022 · I tried to put the line app=FastAPI() in a try-catch block, however, it doesn't work. Is there any way I can handle this issue with own response instead of the above mentioned auto response?

  7. python - Ratelimit in Fastapi - Stack Overflow

    Dec 29, 2020 · How to ratelimit API endpoint request in Fastapi application ? I need to ratelimit API call 5 request per second per user and exceeding that limit blocks that particular user for 60 seconds. In …

  8. FastAPI - Error loading ASGI app. Could not import module "main"

    Dec 13, 2022 · Notice that there are many confusing things in your solution: conflicting name between package name and object name : app what the root source path for your project I suggest: rename …

  9. Python: FastAPI error 422 with POST request when sending JSON data

    Jan 27, 2020 · Also, note that FastAPI/Starlette uses the standard json library for parsing the data behind the scenes. If one is looking for a faster alternative, please have a look at this answer that …

  10. python - How to access FastAPI backend from a different machine/IP …

    Both the FastAPI backend and the Next.js frontend are running on localost. On the same computer, the frontend makes API calls using fetch without any issues. However, on a different computer on the...