source: admin/Sources/Services/ogAdmServer/tests/wol.json @ 240a4dc

918-git-images-111dconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacion
Last change on this file since 240a4dc was 73c4bdff, checked in by OpenGnSys Support Team <soporte-og@…>, 6 years ago

#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

  • Property mode set to 100644
File size: 91 bytes
Line 
1{ "type" : "unicast", "clients" : [ { "addr" : "192.168.2.1", "mac" : "00AABBCCDD01" } ] }
Note: See TracBrowser for help on using the repository browser.