lib/responses.js
function putRouteFromDB(req, res) {
  expectJSON(function () {
    return db.put(req.uri, JSON.stringify(req.body)).then(() => req.body);
  }, res);
}
function putRouteFromDB(req, res) {
  expectJSON(function () {
    return db.put(req.uri, JSON.stringify(req.body)).then(() => req.body);
  }, res);
}
function putRouteFromDB ( req , res ) { expectJSON ( function ( ) { return db . put ( req . uri , JSON . stringify ( req . body ) ) . then ( ( ) => req . body ) ; } , res ) ; }
This route puts straight to the db.

Assumptions:
- that there is no extension if they're putting data.
@param {object} req
@param {object} res
This route puts straight to the db .