Switch to side-by-side view

--- a/controllers/httpRequest.js
+++ b/controllers/httpRequest.js
@@ -5,7 +5,6 @@
 var http = require("http");
 
 module.exports.sendHttpRequest = function (hostname, port, path, method, notification) {
-  console.log("hostname: " + hostname + " port: " + port + " path: " + path + " method: " + method);
   var options = {
     hostname: hostname,
     port: port,
@@ -28,6 +27,6 @@
     console.log('problem with request: ' + e.message);
   });
   // write data to request body
-  req.write(notification);
+  req.write(JSON.stringify(notification));
   req.end();
 }