Equivalent of cURL for Ruby? Equivalent of cURL for Ruby? curl curl

Equivalent of cURL for Ruby?


Curb and Curl::Multi provide cURL bindings for Ruby.


If you like it less low-level, there is also Typhoeus, which is built on top of Curl::Multi.


Use OpenURI and

  open("http://...", :http_basic_authentication=>[user, password])

accessing sites/pages/resources that require HTTP authentication.