Simple HTTP server listener written on go with JSON formatting.
It listens on specific port for HTTP requests and prints request's data into the stdout.
Request:
echo '{"key": {"key2": {"key3": "value"}}, "key4": "value2"}' | http POST :8080/test
Result:
curl -sf https://gobinaries.com/cheshir/simple-http-server | sh
Or if you want to build it from the source:
go install github.com/cheshir/simple-http-server
You can specify HTTP port with -p flag:
simple-http-server -p 9999