# sent **Repository Path**: mirrors_floatdrop/sent ## Basic Information - **Project Name**: sent - **Description**: Like got, but sent - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # sent [![Build Status](https://travis-ci.org/floatdrop/sent.svg?branch=master)](https://travis-ci.org/floatdrop/sent) > Simplified HTTP/HTTPS upload requests __Deprecated:__ use [got](https://github.com/sindresorhus/got) directly. Wrapper around [got](https://github.com/sindresorhus/got) to send POST data from arguments. Use [request](https://github.com/mikeal/request) if you need more. ## Install ```sh $ npm install --save sent ``` ## Usage ```js 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](https://github.com/sindresorhus/got) for options explanation. ## License MIT © [Vsevolod Strukchinsky](floatdrop@gmail.com)