print json

This commit is contained in:
2022-02-21 02:25:35 +00:00
parent 0c113739ee
commit 62be2d30f3

View File

@@ -9,6 +9,8 @@ app.openapi = custom_openapi(app)
@app.get("/", dependencies=[Depends(auth_web)])
@app.post("/", dependencies=[Depends(auth_hook)])
async def hook(req: Request):
json = await req.json()
print(json)
return "Update"