3.0.0 • Published 11 years ago

sent v3.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
11 years ago

sent Build Status

Simplified HTTP/HTTPS upload requests

Wrapper around got to send POST data from arguments.

Use request if you need more.

Install

$ npm install --save sent

Usage

var sent = require('sent');

// Callback mode.
sent('http://devnull-as-a-service.com/dev/null', 'Hello', function (err, data, res) {
	console.log(res.statusCode);
});

// Stream mode.
sent('http://devnull-as-a-service.com/dev/null', 'Hello').pipe(fs.createWriteStream('index.html'));

sent(url, content, options, callback)

See got for options explanation.

License

MIT © Vsevolod Strukchinsky

3.0.0

11 years ago

2.1.3

11 years ago

2.1.2

11 years ago

2.1.1

11 years ago

2.1.0

11 years ago

2.0.0

11 years ago

1.2.2

11 years ago

1.2.1

11 years ago

1.2.0

11 years ago

1.1.0

11 years ago

0.2.0

11 years ago

0.1.0

11 years ago

0.0.0

11 years ago