source: ogServer-Git/tests/reboot.json

Last change on this file was 5f0191d, checked in by OpenGnSys Support Team <soporte-og@…>, 5 years ago

#915 add POST reboot command to REST API in ogAdmServer

Reboot a client (through POST method):

curl -X POST http://127.0.0.1:8888/reboot -d @reboot.json

Request

POST /reboot
{"clients": [ "192.168.2.1" ] }

Reply:

200 OK

  • Property mode set to 100644
File size: 49 bytes
Line 
1{ "clients" : [ "192.168.2.1", "192.168.2.2" ] }
Note: See TracBrowser for help on using the repository browser.