Executes a command using duplex http or https.
npm install http-transport-stream
url
: where to send the POST request
var http = require('http-transport-stream')
var stream = http('https://dat.myserver.edu/mydat')
stream.on('data', console.log)
http-transport-stream
sends a POST request to the URL you provide.