About 50 results
Open links in new tab
  1. python - Does FastAPI still need Gunicorn? - Stack Overflow

    Jul 8, 2025 · Shortly after, FastAPI’s creator deprecated the tiangolo/uvicorn-gunicorn-fastapi Docker image, stating: Now that Uvicorn supports managing workers with --workers, including restarting …

  2. How to return data in JSON format using FastAPI? - Stack Overflow

    Oct 6, 2022 · FastAPI (actually Starlette) will automatically include a Content-Length header. It will also include a Content-Type header, based on the media_type and appending a charset for text types. …

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

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

  4. 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 …

  5. Downgrading OpenAPI 3.1 generated by FastAPI to 3.0 for Azure API ...

    Oct 1, 2025 · I’m building a FastAPI application in Python. When I navigate to the /openapi.json endpoint, FastAPI generates an OpenAPI 3.1 specification. However, Azure API Management …

  6. 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 7 months ago Viewed 27k times

  7. How to initialize a global object or variable and reuse it in every ...

    Here, the notification client is declared globally. I could have it initialized in file2.py, under add_some_tasks, but it would get initialized every time a request arrives, and that would require …

  8. Python FASTAPI shedule task - Stack Overflow

    Jul 22, 2022 · Python FASTAPI shedule task Ask Question Asked 3 years, 9 months ago Modified 2 years, 6 months ago

  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...