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