From 5797e0b199caa44b992929a0f421f6e1a455fffe Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Tue, 21 May 2019 16:56:49 +0200 Subject: #915 add wol command to REST API in ogAdmServer Send Wake-On-Lan to clients (through POST method): Request: curl -X POST http://127.0.0.1:8888/wol { "type" : "unicast", "clients" : [ { "addr" : "192.168.2.1", "mac" : "00AABBCCDD01" } ] } 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 a543ef0..40c339d 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -1,2 +1,3 @@ curl -X POST http://127.0.0.1:8888/clients -d @post_clients.json curl -X GET http://127.0.0.1:8888/clients +curl -X POST http://127.0.0.1:8888/wol -d @wol.json -- cgit v1.2.3-18-g5258