3389675
1
2
3
4
5
6
7
8
9
from fastapi import FastAPI from fastapi.responses import JSONResponse app = FastAPI() @app.get("/ping") async def ping(): print("Received ping request") return JSONResponse(content={"message": "pong"})