Silly stupid HTTP test server, which receives JSON and outputs this to STDOUT, optionally filtering this via JQ
- Go 91%
- Makefile 9%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| go.mod | ||
| main.go | ||
| Makefile | ||
| README.md | ||
stupid-http-json-server
This is a stupid simple helper to receive JSON via a HTTP connection and
send this JSON decoded via jq to Stdout. This tool was built for a
single purpose: being an "endpoint" for the telegraf HTTP output plugin
in a test environment.
Server
Just start stupid-http-json-server.
Client
Send your output to http://localhost:8080/telegraf.