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