Nodeschool.io – Http Client and Http Collect
Below you can find my solutions to Nodeschool.io exercises “HTTP Client” and “HTTP Collect”. In the first one you have to use the http core module. The code is simple enough: var http = require(“http”); http.get(process.argv[2], function(response){ response.setEncoding(“utf8”) response.on(“data”, function(data){ console.log(data); }) }); And my