4 ms·
I didn't find making moderately complex HTTP requests in Ruby to be much more fun than urllib2 in Python. Do you have a library you recommend?
by tdfx 15y ago
I didn't find making moderately complex HTTP requests in Ruby to be much more fun than urllib2 in Python. Do you have a library you recommend?
- josefrichter 15y agoI like httparty or mechanize, but feel free make your own choice over here https://www.ruby-toolbox.com/categories/http_clients https://www.ruby-toolbox.com/categories/http_clients
- tdfx 15y agoI've tried rest-client, em-http-request, and mechanize. I don't recall their specific failings except for mechanize, which seemed to work awesome in 95% of cases and produce cryptic errors with the latter 5%. I will take a look at httparty, though, thanks.