9 lines
110 B
Python
9 lines
110 B
Python
from fastapi import FastAPI
|
|
|
|
app = FastAPI()
|
|
|
|
|
|
@app.get('/')
|
|
async def index():
|
|
return {'hello': 'world'}
|