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