fast api starter

This commit is contained in:
2026-04-12 19:27:36 -03:00
parent 3eccca2475
commit bc3fb1b7ee
2 changed files with 13 additions and 0 deletions

13
main.py Normal file
View File

@@ -0,0 +1,13 @@
from fastapi import FastAPI
app = FastAPI()
@app.get("/")
def read_root():
return {"Hello": "World"}
@app.get("/test")
def test():
return "Test"