Faraday is an HTTP client library that provides a common interface over many adapters (such as Net::HTTP) and embraces the concept of Rack middleware when processing the request/response cycle.

Fork on GitHub Chat with us

Installation

Add this line to your application’s Gemfile:

gem 'faraday'

And then execute:

$ bundle

Or install it yourself as:

$ gem install faraday

You can also install the faraday_middleware extension gem to access a collection of useful Faraday middleware.

Read the docs