code: function (key, defaultValue) {
              var body = self.body || {};
              var query = self.query || {};
              if (null != body[key]) return body[key];
              if (null != query[key]) return query[key];
              return defaultValue;
          }
docs: Return the value of a request input param `name` when present or `defaultValue`.
  
  - Checks body params, ex: id=12, {"id":12}
  - Checks query string params, ex: ?id=12
  
  To utilize request bodies, `req.body`
  should be an object. This can be done by enabling
  the `bodyParser` middleware.
  
  @param {String} key
  @param {*} defaultValue
  @return {String}