Skip to content
s-tech-labs/tools/httpbin-local

httpbin-local

Gov0.1.0MIT

A zero-dependency HTTP server that prints every incoming request to stdout: method, path, headers, and body (up to 10KB). Handles any HTTP method. Each request gets a unique ID and returns 200. Useful for debugging webhooks, reverse proxy configs, API clients, and CI pipeline callbacks. No network latency, no third-party service, no data leaving your machine.

HTTPDebuggingWebhooksCLI

Features

  • Handles all HTTP methods: GET, POST, PUT, DELETE, PATCH
  • Full request display: method, path, headers, body (10KB limit)
  • Unique request IDs per request
  • Quiet mode: method, path, status only
  • No network calls — everything stays local

Flags

LongShortDescription
--version-VShow version and license
--port-pPort to listen on (default 8080)
--quiet-qShow method, path, status only

Usage

terminal
$ httpbin-local
$
$ httpbin-local --port 9090 --quiet

Dependencies

stdlib only — net/http, io, fmt

Install
$ curl -LO https://labs.stech-sol.com/downloads/httpbin-local/0.1.0/httpbin-local_linux_amd64
$ chmod +x httpbin-local_linux_amd64
$ sudo mv httpbin-local_linux_amd64 /usr/local/bin/httpbin-local
About
Language
Go
Versionv0.1.0
LicenseMIT
RepositoryGitHub