RESTful sensors