From 1e6c8892565ac2c0a9578cc2dc8edf3128eb1355 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Wed, 29 May 2019 12:30:36 +0200 Subject: #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 --- tests/run-tests.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/run-tests.sh') 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 -- cgit v1.2.3-18-g5258