Skip to content

Commit

Permalink
Merge pull request request#741 from emkay/example-typo
Browse files Browse the repository at this point in the history
README example is using old cookie jar api
  • Loading branch information
mikeal committed Dec 20, 2013
2 parents 5c04170 + 3cdbdbd commit 50e23b1
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 50e23b1

Please sign in to comment.