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 5c04170 commit 3cdbdbd
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 3cdbdbd

Please sign in to comment.