918-git-images-111dconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
opengnsys-1.1.1b
Last change
on this file since f3499a3 was
775f6f0,
checked in by OpenGnSys Support Team <soporte-og@…>, 6 years ago
|
#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
|
-
Property mode set to
100644
|
File size:
63 bytes
|
Line | |
---|
1 | { "clients" : [ "192.168.2.1", "192.168.2.2" ], "run" : "ls" } |
---|
Note: See
TracBrowser
for help on using the repository browser.