new url
This commit is contained in:
parent
11fbb2d22b
commit
bc126cdd9c
|
@ -9,7 +9,7 @@ app = FastAPI()
|
||||||
|
|
||||||
@app.get("/")
|
@app.get("/")
|
||||||
def read_root():
|
def read_root():
|
||||||
return {"Hello": "World"}
|
return {"service": "BX integrations"}
|
||||||
|
|
||||||
|
|
||||||
@app.post("/integration")
|
@app.post("/integration")
|
||||||
|
@ -36,7 +36,8 @@ async def intgr(request: Request):
|
||||||
|
|
||||||
return {"status": "success"}
|
return {"status": "success"}
|
||||||
|
|
||||||
@app.post("integration_tg")
|
|
||||||
|
@app.post("/integration_tg")
|
||||||
async def tg_intgr(request: Request):
|
async def tg_intgr(request: Request):
|
||||||
body = await request.json()
|
body = await request.json()
|
||||||
logger.info(body)
|
logger.info(body)
|
||||||
|
|
Loading…
Reference in New Issue