ctrlaltdev / srv42

🌐 Catch All HTTP Server

Home Page:https://ctrlalt.dev/srv42

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Catch All Test HTTP Server

You can listen to any and all incoming requests and print them to stdout, or you can serve local static files if you provide a path.

Usage

srv42

To use another port than 1337:

srv42 -p 5000

To response another status than 202 (ignored if a path is provided):

srv42 -s 204

To have the full details of the request:

srv42 -v

To serve static files:

srv42 www/static/

About

🌐 Catch All HTTP Server

https://ctrlalt.dev/srv42


Languages

Language:Go 83.0%Language:Makefile 17.0%