var request = require('request');

exports.shorten_url = function (req, res) {
  var url = req.body.destination;
  request.post({
    url: 'http://api.wrapulous.com/api/v0/links/',
    json: {destination: url}
  }, function (response, body) {
    res.send(response.statusCode, body);
  });
};

@@ -218,16 +218,23 @@
 nction (
+error, 
 response

fix function definition