This commit is contained in:
Kseninia Mikhaylova 2024-05-07 11:43:11 +03:00
parent 11fbb2d22b
commit bc126cdd9c
1 changed files with 7 additions and 6 deletions

View File

@ -9,7 +9,7 @@ app = FastAPI()
@app.get("/")
def read_root():
return {"Hello": "World"}
return {"service": "BX integrations"}
@app.post("/integration")
@ -36,7 +36,8 @@ async def intgr(request: Request):
return {"status": "success"}
@app.post("integration_tg")
@app.post("/integration_tg")
async def tg_intgr(request: Request):
body = await request.json()
logger.info(body)