Skip to content
Common interface for Ruby's HTTP clients
Latest commit 7a81287 Apr 29, 2016 Roger Leite Update Changelog and bump to version 2.4.2


A common interface for Ruby's HTTP libraries.

Documentation | RDoc | Mailing list

Build Status Gem Version Code Climate Coverage Status


HTTPI is available through Rubygems and can be installed via:

$ gem install httpi

or add it to your Gemfile like this:

gem 'httpi', '~> 2.1.0'

Usage example

require "httpi"

# create a request object
request =
request.url = ""

# and pass it to a request method

# use a specific adapter per request
HTTPI.get(request, :curb)

# or specify a global adapter to use
HTTPI.adapter = :httpclient

# and execute arbitary requests
HTTPI.request(:custom, request)


Continue reading at

Something went wrong with that request. Please try again.