Add FastAPI (#1186)

Co-authored-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
Sajad Rahimi
2021-12-21 06:32:50 +03:30
committed by GitHub
parent a5372aa218
commit 4083bb5f55
2 changed files with 9 additions and 1 deletions

7
f/FastAPI.py Normal file
View File

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