Temperature REST controller that will receive requests and store in db.