Skip to content
Olle Jonsson edited this page May 26, 2019 · 28 revisions

Faraday — your HTTP client on Rack

Faraday is an HTTP client lib 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.

For talking to APIs in a secure way (HTTPS), see Setting up SSL certificates.

Middleware

Apart from bundled request/response middleware that comes with Faraday, these 3rd-party projects provide extra middleware:

Unsupported middleware

Less-maintained projects.

  • faraday-stack (follow redirects, response parsing, and other) – deprecated in favor of faraday_middleware
  • faraday_utf middlewares for processing utf (removed by its author, preserved here as a link to the lostisland/faraday_middleware PR, which also defined it)

Adapters

External repositories for Faraday adapters: