Skip to content

Instantly share code, notes, and snippets.

@abarringer
Created February 17, 2010 04:45
Show Gist options
  • Save abarringer/306309 to your computer and use it in GitHub Desktop.
Save abarringer/306309 to your computer and use it in GitHub Desktop.
@mib32
Copy link

mib32 commented Mar 12, 2017

this doesnt work anymore(((

@awls99
Copy link

awls99 commented Jun 29, 2017

@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