print json
This commit is contained in:
parent
0c113739ee
commit
62be2d30f3
|
@ -9,6 +9,8 @@ app.openapi = custom_openapi(app)
|
||||||
@app.get("/", dependencies=[Depends(auth_web)])
|
@app.get("/", dependencies=[Depends(auth_web)])
|
||||||
@app.post("/", dependencies=[Depends(auth_hook)])
|
@app.post("/", dependencies=[Depends(auth_hook)])
|
||||||
async def hook(req: Request):
|
async def hook(req: Request):
|
||||||
|
json = await req.json()
|
||||||
|
print(json)
|
||||||
return "Update"
|
return "Update"
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue