A command-line HTTP client built in C with libcurl. Make HTTP requests and generate code snippets.
- Support for all HTTP methods (GET, POST, PUT, DELETE, PATCH)
- Custom headers
- Colored output
- Response time measurement
- JSON formatting
- Code generation for cURL, JavaScript, Python, Rust, Java
Install libcurl:
Ubuntu/Debian:
sudo apt-get install libcurl4-openssl-devFedora/RHEL:
sudo dnf install libcurl-develmacOS:
brew install curlmake
./httpxRun ./httpx and follow the menu to make requests or generate code.
For requests: Enter URL, method, headers, body (end multiline with @@@).
- JSON requests auto-add Content-Type header
- End multiline body with
@@@on new line - Enable verbose mode for details
MIT