I'm doing a simple get request, but my code is only returning a "chunk" of the webpage html. I thought 'request' is supposed to take care of the buffering and return a single string?
var request = require('request');
request("EXAMPLE-URL", function (error, response, body) {
if (!error && response.statusCode == 200) {
console.log(body);
}
});