httpstat - HTTP Timing

Make HTTP requests and see timing breakdown, status, and response preview.

Quick Start

httpstat https://example.com
httpstat -X POST https://api.example.com/data
httpstat -H "Authorization: Bearer token" https://api.example.com

Usage

httpstat <url>                           # GET request
httpstat -X POST <url>                   # POST request
httpstat -H "Header: Value" <url>        # Add header
httpstat --insecure <url>                # Skip TLS verification

Options

Option Description

-X METHOD

HTTP method (GET, POST, PUT, DELETE, etc.)

-H "Header: Value"

Add request header (can be repeated)

--insecure, -k

Skip TLS certificate verification

--no-redirect

Don’t follow redirects

Examples

Basic Request

httpstat https://httpbin.org/get
Output
GET https://httpbin.org/get

🟢 200 OK

Headers:
  content-type: application/json
  content-length: 256

Timing:
  Total:        245ms

Body (JSON):
  {
    "args": {},
    "headers": {
      ...
    }
  }

With Authentication

httpstat -H "Authorization: Bearer mytoken" https://api.example.com/me

POST Request

httpstat -X POST https://httpbin.org/post

Self-Signed Certificate

httpstat --insecure https://self-signed.example.com

Status Indicators

Icon Meaning

🟢

2xx Success

🟡

3xx Redirect

🔴

4xx/5xx Error or connection failure

Dependencies

  • httpx - Modern HTTP client