From 62be2d30f3c33e349911ca248a87e7ca8bc75e14 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Mon, 21 Feb 2022 02:25:35 +0000 Subject: [PATCH] print json --- app/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/main.py b/app/main.py index e0f3268..b23de22 100644 --- a/app/main.py +++ b/app/main.py @@ -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"