source: ogServer-Git/tests/clients.json

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

#915 add clients command to REST API in ogAdmServer

Request for existing clients:

curl -X GET http://127.0.0.1:8888/clients

Request:

GET /clients

Reply:

200 OK
{"clients": [ { "addr" : "192.168.2.1", "state" : "OPG" }, { "addr" : "192.168.2.2", "state" : "OFF" }]}

  • Property mode set to 100644
File size: 42 bytes
Line 
1curl -X GET http://127.0.0.1:8888/clients
Note: See TracBrowser for help on using the repository browser.