Files
hello-fastapi/app.py
2024-07-31 10:47:42 +02:00

8 lines
113 B
Python

from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def index():
return {"message": "Hello, World!"}