Skip to content

Instantly share code, notes, and snippets.

@qcom
Last active September 27, 2015 20:34
Embed
What would you like to do?
'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