Equivalent of cURL for Ruby?
curl, ruby
Solution
Use OpenURI and
open("http://...", :http_basic_authentication=>[user, password])
accessing sites/pages/resources that require HTTP authentication.
Problem
Is there a cURL library for Ruby?
curl, ruby
Use OpenURI and
open("http://...", :http_basic_authentication=>[user, password])
accessing sites/pages/resources that require HTTP authentication.
Is there a cURL library for Ruby?