BlinkTheThings / http-echo

http-echo is an HTTP server for examining request headers sent by HTTP clients.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http-echo

http-echo is an HTTP server for examining request headers sent by HTTP clients.

Usage

Running http-echo with no arguments will start an HTTP server listening on port 8000 on all available network interfaces.

$ http-echo
2020/12/05 23:05:46 http-echo
2020/12/05 23:05:46 Listening on :8000...

A specific network address to listen on can be specified using the -http command line argument.

$ http-echo -http 127.0.0.1:8080
2020/12/05 23:05:46 http-echo
2020/12/05 23:05:46 Listening on 127.0.0.1:8080...

About

http-echo is an HTTP server for examining request headers sent by HTTP clients.

License:MIT License


Languages

Language:Go 100.0%