WebThingsIO / api

Web Thing API Specification
http://iot.mozilla.org/wot/
Other
164 stars 24 forks source link

Web Thing REST API - Echo back value when setting property #70

Closed benfrancis closed 6 years ago

benfrancis commented 6 years ago

An HTTP PUT request on a Property resource should echo back the value that was set in its response.

e.g.

PUT http://mythingserver.com/things/pi/properties/led
{
  "led": true
}
200 OK
{
  "led": true
}