from fastapi import FastAPI app = FastAPI() @app.get("/getit") def getit(): return {"got": "it"}