source: ogServer-Git/tests/session.json

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

#915 add POST session command to REST API in ogAdmServer

Start a session on client (through POST method):

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

Request

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

Reply:

200 OK

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