From 3cdbdbdf5341c5e0986c8018568c3f412aab0c75 Mon Sep 17 00:00:00 2001 From: Michael Matuzak Date: Thu, 19 Dec 2013 18:41:47 -0800 Subject: [PATCH] updating README example: cookie jar api changed cookie module changed to tough-cookie --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a4b4184e..bd9fdd432 100644 --- a/README.md +++ b/README.md @@ -357,7 +357,7 @@ OR ```javascript var j = request.jar() var cookie = request.cookie('your_cookie_here') -j.add(cookie) +j.setCookie(cookie, uri) request({url: 'http://www.google.com', jar: j}, function () { request('http://images.google.com') })