qmetrics.net

reqwest

Ergonomic HTTP client library for Rust applications

reqwest screenshot

reqwest provides async and blocking HTTP clients for Rust with JSON, forms, multipart bodies, proxies, cookies, and TLS. A WASM target uses the browser’s network stack.

Overview

reqwest is a higher-level HTTP client crate for Rust that wraps connection pooling, TLS, redirects, and common body encodings. The default Client is asynchronous on top of Tokio, while a blocking API exists for simple scripts or low-volume callers.

Request builders support plain text bodies plus JSON, urlencoded forms, and multipart uploads behind optional Cargo features. Clients can follow redirects with a configurable policy, honor system proxy environment variables, store cookies when enabled, and speak HTTP/2 by default.

TLS typically uses rustls, with feature flags to switch to native platform TLS on Windows, macOS, or Linux OpenSSL builds. Compression, SOCKS proxies, custom DNS resolvers, and unstable HTTP/3 require additional features. On wasm32 targets the crate delegates TLS and cookies to the browser environment.

Commercial support from the maintainer is advertised for teams wanting private guidance. Documentation and the Rust Cookbook link to usage patterns and repository examples.

Key features

  • Async and blocking clients
  • JSON, form, and multipart bodies
  • Configurable redirect handling
  • System and custom HTTP proxies
  • TLS via rustls or native TLS
  • Optional cookie jar support
  • HTTP/2 enabled by default
  • WebAssembly browser client mode

Use cases

  • Calling REST APIs from Rust services
  • Downloading or uploading HTTP resources
  • Scripts needing a blocking client
  • Services behind corporate proxies
  • Frontend Rust WASM HTTP calls

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