Skip to content

Commit

Permalink
Changed url to use /cookies
Browse files Browse the repository at this point in the history
  • Loading branch information
catharsisjelly committed Aug 18, 2014
1 parent dc838a8 commit 819c545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cookie.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$c = new Requests_Cookie('login_uid', 'something');

// Now let's make a request!
$request = Requests::get('http://httpbin.org/get', array('Cookie' => $c->formatForHeader()));
$request = Requests::get('http://httpbin.org/cookies', array('Cookie' => $c->formatForHeader()));

// Check what we received
var_dump($request);

0 comments on commit 819c545

Please sign in to comment.