9 lines
139 B
Python
9 lines
139 B
Python
|
from fastapi import FastAPI
|
||
|
|
||
|
my_awesome_api = FastAPI()
|
||
|
|
||
|
|
||
|
@my_awesome_api.get("/")
|
||
|
async def root():
|
||
|
return {"message": "Hello World"}
|