Add FastAPI (#1186)
Co-authored-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
7
f/FastAPI.py
Normal file
7
f/FastAPI.py
Normal file
@@ -0,0 +1,7 @@
|
||||
from fastapi import Body, FastAPI
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
return {"message": "Hello World"}
|
||||
Reference in New Issue
Block a user