Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
uri is not defined.
  • Loading branch information
arbaaz committed Aug 9, 2015
1 parent cf757e1 commit 76bc644
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -1054,8 +1054,8 @@ To inspect your cookie jar after a request:
```js
var j = request.jar()
request({url: 'http://www.google.com', jar: j}, function () {
var cookie_string = j.getCookieString(uri); // "key1=value1; key2=value2; ..."
var cookies = j.getCookies(uri);
var cookie_string = j.getCookieString(url); // "key1=value1; key2=value2; ..."
var cookies = j.getCookies(url);
// [{key: 'key1', value: 'value1', domain: "www.google.com", ...}, ...]
})
```
Expand Down

0 comments on commit 76bc644

Please sign in to comment.