Last active
September 27, 2015 20:34
-
-
Save qcom/31e188b420fb8625b27c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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