qmetrics.net

HTTPoison

Elixir HTTP client library powered by Hackney

HTTPoison screenshot

HTTPoison is an Elixir HTTP client built on Hackney. It supports sync and async requests, pools, cookies, and multipart bodies.

Overview

HTTPoison is an HTTP client for Elixir programs, implemented on top of the Hackney library. It exposes familiar get, post, and other verbs with structured response and error types you can pattern match in application code.

Requests accept numerous options documented alongside Hackney, including SSL settings, receive timeouts, and hooks for client certificates. A major-version change made SSL options merge with defaults instead of replacing them, with an explicit override flag for prior behavior.

The HTTPoison.Base module lets you wrap the client to build dedicated API clients with shared defaults. Async modes stream response chunks to the caller, with a once mode to avoid flooding processes on very large bodies.

Cookie headers can be sent and set-cookie values read from responses. Multipart uploads cover files on disk and in-memory blobs. Connection pooling reuses keepalive links per host through Hackney pools, with ways to name pools, create them at startup, or disable pooling per request.

Key features

  • REST-style HTTP verbs
  • Hackney-backed connection pools
  • Async streaming responses
  • SSL and timeout options
  • Cookie send and receive
  • Multipart upload and parse
  • HTTPoison.Base client wrappers
  • Low-level Hackney request logging

Use cases

  • Call external REST APIs from Elixir
  • Build typed third-party API clients
  • Stream large HTTP downloads
  • Upload files via multipart forms

Tags

Similar software

axios

Promise-based HTTP client for browser and Node.js

Axios is a promise-based HTTP client for JavaScript environments in the browser and Node.js. It supports common request methods, configurable defaults, and interceptors for request and response handling.

★ 109.5k⟳ 2 days agoMIT

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

OmniRoute

OpenAI-compatible AI gateway with provider routing

OmniRoute exposes one endpoint that routes chat requests across many LLM providers with quota-aware fallback and compression.

★ 90.7k⟳ todayMIT

Hoppscotch

Web, desktop and CLI API development ecosystem

Hoppscotch lets developers send HTTP, WebSocket, GraphQL, and related API requests from a lightweight client. Collections, environments, teams, and sync help organize testing across devices.

★ 81k⟳ 5 days agoMIT
Open Source Alternative to:Postman

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

JSON Server

Zero-code mock REST API from JSON data files

JSON Server turns a JSON or JSON5 database file into a REST API for local prototyping. It supports filtering, sorting, pagination, embedding relations, and static assets.

★ 75.7k⟳ 8 months agoMIT