summaryrefslogtreecommitdiffstats
path: root/tests/run-tests.sh
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2019-05-29 12:30:36 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-05-30 15:32:22 +0200
commit1e6c8892565ac2c0a9578cc2dc8edf3128eb1355 (patch)
treed7ff65dda48f18298beac697cfaf7b4cb8722c23 /tests/run-tests.sh
parent5f0191d73ff5136a1a63b076f12a30a01e06f9dd (diff)
#915 add POST stop command to REST API in ogAdmServer
Stop the menu selection on client (through POST method): curl -X POST http://127.0.0.1:8888/stop -d @stop.json Request POST /stop {"clients": [ "192.168.2.1" ] } Reply: 200 OK
Diffstat (limited to 'tests/run-tests.sh')
-rwxr-xr-xtests/run-tests.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/run-tests.sh b/tests/run-tests.sh
index ae102c9..138b3b2 100755
--- a/tests/run-tests.sh
+++ b/tests/run-tests.sh
@@ -6,3 +6,4 @@ curl -X POST http://127.0.0.1:8888/shell/output -d @post_shell_output.json
curl -X POST http://127.0.0.1:8888/session -d @session.json
curl -X POST http://127.0.0.1:8888/poweroff -d @poweroff.json
curl -X POST http://127.0.0.1:8888/reboot -d @reboot.json
+curl -X POST http://127.0.0.1:8888/stop -d @stop.json