summaryrefslogtreecommitdiffstats
path: root/tests/stop.json
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/stop.json
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/stop.json')
-rw-r--r--tests/stop.json1
1 files changed, 1 insertions, 0 deletions
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" ] }