Print jsTxt
This commit is contained in:
1
main.py
1
main.py
@@ -99,6 +99,7 @@ async def fastapi_sync_with_server(network: str, operationid: int) -> ChangeSet:
|
|||||||
@app.post("/batch/")
|
@app.post("/batch/")
|
||||||
async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet:
|
async def fastapi_execute_batch_commands(network: str, req: Request)-> ChangeSet:
|
||||||
jsTxt = await req.json()
|
jsTxt = await req.json()
|
||||||
|
print(jsTxt)
|
||||||
jo = json.loads(jsTxt)
|
jo = json.loads(jsTxt)
|
||||||
print(jo)
|
print(jo)
|
||||||
print(type(jo))
|
print(type(jo))
|
||||||
|
|||||||
Reference in New Issue
Block a user