From edbe03a759f91e657795e1cb643a45f74d907cff Mon Sep 17 00:00:00 2001 From: DingZQ Date: Sat, 15 Oct 2022 17:18:08 +0800 Subject: [PATCH] Print request --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 4163286..1ddf9ad 100644 --- a/main.py +++ b/main.py @@ -98,7 +98,9 @@ def fastapi_sync_with_server(network: str, operationid: int) -> ChangeSet: @app.post("/batch/") def fastapi_execute_batch_commands(network: str, request: Request) -> ChangeSet: + print(request) jsTxt = request.json() + print(jsTxt) joOps = json.loads(jsTxt)['operations'] cs:ChangeSet = ChangeSet({}) for js in joOps: