[nodejs] Re: Easiest Way to Slurp a GET

2013-06-18 Thread Marco Rogers
No there's nothing built into core for this. The core apis actually want to encourage streaming and it's generally considered the more efficient pattern. There are lots of modules like the one you found that make it easy to accumulate the streamed data chunks. If you are making an http calls, y

[nodejs] Re: Easiest Way to Slurp a GET

2013-06-19 Thread Floby
* *I wrote stream-sink which does that, but I only used it for testing. https://npmjs.org/package/stream-sink On Monday, 17 June 2013 17:45:55 UTC+2, Alan Gutierrez wrote: > > What is the easiest way to slurp an HTTP GET request body into a string? > Or, > even better, what is a general purpose