Print payload
This commit is contained in:
1
main.py
1
main.py
@@ -98,6 +98,7 @@ async def fastapi_sync_with_server(network: str, operationid: int) -> ChangeSet:
|
||||
|
||||
@app.post("/batch/")
|
||||
async def fastapi_execute_batch_commands(network: str, payload: dict = Body(...)) -> ChangeSet:
|
||||
print(payload)
|
||||
cs = ChangeSet({})
|
||||
return api.execute_batch_commands(network, cs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user