Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sudox77/httpx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

HTTPX

HTTPX Banner

A command-line HTTP client built in C with libcurl. Make HTTP requests and generate code snippets.

Features

  • 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

Installation

Prerequisites

Install libcurl:

Ubuntu/Debian:

sudo apt-get install libcurl4-openssl-dev

Fedora/RHEL:

sudo dnf install libcurl-devel

macOS:

brew install curl

Build

make
./httpx

Usage

Run ./httpx and follow the menu to make requests or generate code.

For requests: Enter URL, method, headers, body (end multiline with @@@).

Tips

  • JSON requests auto-add Content-Type header
  • End multiline body with @@@ on new line
  • Enable verbose mode for details

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published