Skip to content

Instantly share code, notes, and snippets.

@qcom
Last active September 27, 2015 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qcom/31e188b420fb8625b27c to your computer and use it in GitHub Desktop.
Save qcom/31e188b420fb8625b27c to your computer and use it in GitHub Desktop.
'use strict';
var request = require('request');
var url = 'https://google.com';
module.exports = function(address, cb) {
request(url, function(err, res, body) {
if (err) throw err;
console.log(body);
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment