About
rusttp is an HTTP client with httpie-style request syntax. JSON fields, raw JSON values, query parameters, headers and file uploads are written on one line. The response is shown with syntax highlighting. --offline prints the request without sending it. It is a single native binary and needs no Python. It implements only a subset of the httpie syntax.
Features
- Request items: key=value, key:=json, key==query, Header:value and key@file
- JSON, form and multipart bodies
- Highlighted response output and --raw for plain output
- --offline prints the request without sending it
- Basic and bearer auth, proxy, redirect following, download to file
Requirements
Rust 1.85+ to build from source (edition 2024); Linux, macOS or Windows release binaries
Install
curl -fsSL https://raw.githubusercontent.com/Ankara-Software/rusttp/master/install.sh | shcargo install --git https://github.com/Ankara-Software/rusttpUsage
rusttp https://httpbin.org/getrusttp POST https://httpbin.org/post name="Anilcan Kara" age:=28 active:=truerusttp --offline POST https://httpbin.org/post name=AnilcanLinks
- GitHub repository
- https://github.com/Ankara-Software/rusttp
- Report an issue
- https://github.com/Ankara-Software/rusttp/issues
- Security policy
- SECURITY.md
- License file
- LICENSE (MIT)
- Last update

