code: function putRouteFromDB(req, res) {
    expectJSON(function () {
      return db.put(req.uri, JSON.stringify(req.body)).then(() => req.body);
    }, res);
  }
docs: This route puts straight to the db.
  
  Assumptions:
  - that there is no extension if they're putting data.
  @param {object} req
  @param {object} res