diff --git a/main.py b/main.py index 5c154bc..4c9a215 100644 --- a/main.py +++ b/main.py @@ -8,6 +8,9 @@ app = FastAPI( version="1.0.0", ) +@app.post("/api/echo") +async def foo(payload: dict): + return {"received_payload": payload} @app.get("/api/data") def get_sample_data(): @@ -73,6 +76,7 @@ def read_root(): align-items: center; padding: 1rem 2rem; gap: 2rem; + background-color: blue; } .logo { diff --git a/requirements.txt b/requirements.txt index 97dc7cd..4e40242 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,4 @@ fastapi uvicorn +pyTelegramBotAPI +psycopg2-binary \ No newline at end of file