test incoming webhook
This commit is contained in:
parent
dcc2848e2e
commit
11fbb2d22b
|
@ -35,3 +35,10 @@ async def intgr(request: Request):
|
|||
logger.info(f"result {json.loads(bx_res.text)}")
|
||||
|
||||
return {"status": "success"}
|
||||
|
||||
@app.post("integration_tg")
|
||||
async def tg_intgr(request: Request):
|
||||
body = await request.json()
|
||||
logger.info(body)
|
||||
|
||||
return {"status": "success"}
|
Loading…
Reference in New Issue