Created
February 17, 2010 04:45
-
-
Save abarringer/306309 to your computer and use it in GitHub Desktop.
this doesnt work anymore(((
@mib32 I've kinda tripped on this page while looking for something else, you can use my gem to use http party with cookie support:
class My_awesome_cookie_using_api
include HTTParty_with_cookies
end
api = My_awesome_cookie_using_api.new
api.get 'http://someurl.com/endpoint'
api.cookies['darkside'] #=> 'We have cookies!'```
https://github.com/awls99/httparty-with-cookies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cookies : { "key1" => "value1", "key2" => "value2" }