From fa010fa5b43016f1b3595d616a654c070796f2b1 Mon Sep 17 00:00:00 2001 From: Vsevolod Strukchinsky Date: Mon, 8 Dec 2014 00:31:59 +0500 Subject: [PATCH] update readme.md * remove Related section (as sent is deprecated) * add PATCH --- readme.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/readme.md b/readme.md index 5a93f64..5299e12 100644 --- a/readme.md +++ b/readme.md @@ -31,7 +31,7 @@ got('http://todomvc.com', function (err, data, res) { // Stream mode. got('http://todomvc.com').pipe(fs.createWriteStream('index.html')); -// For POST and PUT methods got returns WritableStream +// For POST, PUT and PATCH methods got returns WritableStream fs.createReadStream('index.html').pipe(got.post('http://todomvc.com')); ``` @@ -99,11 +99,6 @@ The [response object](http://nodejs.org/api/http.html#http_http_incomingmessage) Sets `options.method` to the method name and makes a request. -## Related - -See [sent](https://github.com/floatdrop/sent) if you need to upload something. - - ## License MIT © [Sindre Sorhus](http://sindresorhus.com)