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/stop.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/stop.json (limited to 'tests/stop.json') diff --git a/tests/stop.json b/tests/stop.json new file mode 100644 index 0000000..4667303 --- /dev/null +++ b/tests/stop.json @@ -0,0 +1 @@ +{ "clients" : [ "192.168.2.1", "192.168.2.2" ] } -- cgit v1.2.3-18-g5258