Source Code

https://hook.io/examples/javascript-pipe-hook

These examples can be run directly in the browser or from any client which speaks HTTP.
You can also send data using tools like cURL.

Code

// Connect two Hooks together using .pipe()
module['exports'] = function pipeHook (hook) {
  var request = require('request');
  var stream = request('https://hook.io/examples/bash-hello-world');
  stream.pipe(hook.res);
};

To make your own copy of this service or "Fork" it simply click the button. You will need to register for a Free Account, but it's very quick and easy!