01. [40p] IoT REST API

First, make sure to explore the lab code and see where's what and everything.

You need to implement a RESTful interface that will allow you to send sensor data from a (imaginary) IoT device. Also check out the TODOs:

Also implement the get/set functions inside the sensors model.

To test, either use a browser extension like RESTer (Firefox) or Talend (Chrome) or something else (beware of / check for reviews to avoid installing spyware! POSTMan has gone commercial BTW, ain't open anymore). As an alternative for purists, you can alwayys use ''curl'' from the command line!