Skip to content

Commit

Permalink
updating README example: cookie jar api changed cookie module changed…
Browse files Browse the repository at this point in the history
… to tough-cookie
  • Loading branch information
emkay committed Dec 20, 2013
1 parent c8f92f9 commit 5531c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})
Expand Down

0 comments on commit 5531c20

Please sign in to comment.