05a07ae 94b8f54
1
2
3
4
5
6
7
8
9
10
11
from fastapi import FastAPI app = FastAPI() @app.get("/") def greet_json(): return {"Hello": "World!"} @app.get("/123") def greet_json(): return {"Hello": "123!"}