Created
January 15, 2015 18:28
-
-
Save SET001/5d33b4a20013f2677d87 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
http.get path, (response) -> | |
s = '' | |
response.on 'data', (chunk) -> | |
s += chunk | |
response.on 'end', -> | |
console.log s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment