I\'m trying to read the content from a URL with Node.js but all I seem to get are a bunch of bytes. I\'m obviously doing something wrong but I\'m not sure what. This is the
the data object is a buffer of bytes. Simply call .toString() to get human-readable code:
.toString()
console.log( data.toString() );
reference: Node.js buffers