from fastapi import FastAPI app = FastAPI() @app.get("/hello/") async def hello(): return {"message": "Hello from FastAPI!"}