code: function req (method, url, query, body, done) {
  	request({
  		method: method,
  		url: url,
  		qs: query,
  		body: body,
  		json: true
  	}, function (err, res, body) {
  		if (err) {
  			return done(err);
  		}
  		if (res.statusCode > 299) {
  			var message = (body && body.message ? body.message : 'Error ' + res.statusCode);
  			return done(new Error(message));
  		}
  		done(null, body);
  	});
  }
docs: Perform a request