xh is a lightweight HTTP client written in Rust for sending network requests, testing APIs, and inspecting server responses directly from the command line. Inspired by HTTPie, it combines intuitive request syntax with efficient execution and minimal overhead. Users can construct JSON payloads, submit form data, upload files, and configure custom HTTP headers. Persistent sessions retain authentication credentials, cookies, and request settings across multiple interactions. Integrated authentication supports Basic, Digest, and Bearer mechanisms. Customizable syntax highlighting and response formatting improve terminal readability. Additional functionality includes resumable downloads, proxy configuration, TLS certificates, and offline request construction. xh also translates commands into equivalent curl syntax.

Features

  • Intuitive HTTP request construction with JSON payloads, form submissions, multipart uploads, and custom headers
  • Persistent session management with reusable authentication credentials, cookies, and request configurations
  • Multiple authentication mechanisms supporting Basic, Digest, and Bearer token-based authentication
  • Customizable syntax highlighting and response formatting with configurable terminal color schemes
  • Advanced network configuration with proxy support, client certificates, DNS overrides, and selectable HTTP versions
  • Resumable file downloads, offline request construction, and automatic translation into equivalent curl commands

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow xh

xh Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of xh!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Command Line Tools, Rust HTTP Clients

Registered

3 days ago