8 lines
122 B
Python
Raw Normal View History

from fastapi import Body, FastAPI
app = FastAPI()
@app.get("/")
async def root():
return {"message": "Hello World"}