Print jsTxt

This commit is contained in:
DingZQ
2022-10-15 17:44:11 +08:00
parent f880abf10d
commit c8ddc79308

View File

@@ -99,6 +99,7 @@ async def fastapi_sync_with_server(network: str, operationid: int) -> ChangeSet:
@app.post("/batch/")
async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet:
jsTxt = await req.json()
print(jsTxt)
jo = json.loads(jsTxt)
print(jo)
print(type(jo))