diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-05-23 17:49:18 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2019-05-27 13:02:57 +0200 |
commit | 7e4e5b5e0884483e8c7d4b0adb8f10a93157ceaf (patch) | |
tree | be43c4da307ee070a3a3a558b2abbf3c1ebb66c8 /tests/units/test_0002_post_clients.py | |
parent | 5797e0b199caa44b992929a0f421f6e1a455fffe (diff) |
#915 add run command to REST API in ogAdmServer
Run command on client (through POST method):
curl -X POST http://127.0.0.1:8888/shell/run -d @post_run.json
Request
POST /shell/run
{"clients": [ "192.168.2.1", "192.168.2.2" ], "run" : "ls" }
Reply:
200 OK
Diffstat (limited to 'tests/units/test_0002_post_clients.py')
0 files changed, 0 insertions, 0 deletions