rackup -p 9292
Get device in JSON
curl http://localhost:9292/device
Update device by sending JSON in POST
curl -X POST -d '{"device":{"username":"Testa User Name","name":"Test Name","location":"Test Location"}}' http://localhost:9292/device
| Name | Name | Last commit date | ||
|---|---|---|---|---|