Silly stupid HTTP test server, which receives JSON and outputs this to STDOUT, optionally filtering this via JQ
  • Go 91%
  • Makefile 9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-04-05 12:59:27 +02:00
go.mod Revert "Update the mod URL to code.schlittermann.de" 2022-02-04 12:55:42 +01:00
main.go Change -listen to -url option 2022-04-05 12:57:19 +02:00
Makefile Add Makefile 2022-04-05 12:59:27 +02:00
README.md Add README 2021-05-25 15:27:07 +02:00

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.