I'm trying to implement pagination in my FastAPI-application. I want to display all todo's that a user has added. The problem is that the response I'm getting b
I am a newbie in RESTful API... so I am trying to deploy two servers (client and model). The main idea is : Client uploads his images on the client server, the
I have created a simple fullstack app that needs to do some long calculations on the back on a specific request. In order to follow the progre
I am making a rick roll site for Discord and I would like to redirect to the rick roll page on 404 response status codes. I've tried the following, but didn't w
I'm trying to parse a JSON that came from a POST request from user to my API made with FastAPI. I have a nested JSON that can receive multiple values and my pro
I am using FastAPI to create an API that receives small audio files from a mobile app. In this API I do processing of the signal and I am able to return a respo
I'm using FastAPI with WebSockets to "push" SVGs to the client. The problem is: If iterations run continuously, they block the async event loop and the socket t
I am building a browser game where every user has 4 types of ressources and each users produce more ressources based on the level of their far
I want to make an HTTP endpoint in FastAPI that requires a specific header, produces a custom response code when the header is absent, as well as shows the head
I am creating an API using fastAPI, which receives a form from a HTML page, treats it (requiring a few moments) and returns a message saying this task is comple
Im trying testing if its possible to run two functions in one Azure function app one running FastAPI and the other one running Flask. I tried to specify a diffe
I'm developing a simple FastAPI app and I'm using Pydantic for storing app settings. Some settings are populated from the environment variables set by Ansible d
I am trying to customize my OpenAPI (Swagger UI) docs generated by FastAPI, but that string - Swagger UI still remains. app = FastAPI( title="Test", ver
I am building a FastAPI application, which has a lot of Pydantic models. Even though the application is working just fine, as expected the OpenAPI (Swagger UI)
I wanted to make a connection on the socket.io so I used python-socket.io in the backend (FastAPI) and socket.io-client for the frontend(React.js) but I have be
How do I return an excel file (version: Office365) using FastAPI? The documentation seems pretty straightforward. But, I don't know what media_type to use. H
So I'm working on my first ever REST API, so apologies in advance if I've missed something basic. Anyway, I have a function that takes a json request from anoth
I have an HTML page being rendered with FastAPI: @app.get("/index", response_class=HTMLResponse) def write_home(request: Request): return t
I have a csv file that i want to render in a fastAPI app. I only managed to render te csv in json format like following: def transform_question_format(csv_file_
I'm trying to add metrics on external services with aioprometheus in an app built with FastAPI. Here is a simplified example of what I'm trying to achieve. Say