2 changed files with 19 additions and 0 deletions
@ -0,0 +1,9 @@ |
|||
from fastapi import FastAPI |
|||
|
|||
app = FastAPI() |
|||
|
|||
|
|||
@app.get("/") |
|||
async def root(): |
|||
return {"message": "Hello World", "status": "ok"} |
|||
|
|||
Loading…
Reference in new issue