Super simple POST to GET forwarder using FastAPI. This was born from the need of connecting Alertmanager and Uptime Kuma. This app gets the webhook notification in POST and converts it to GET and fowards it to Uptime Kuma. That's it.
This one is a Go rewrite from Python/FastAPI using Gin.
To test whether the POST payload works with the sample alert.json file run
this:
curl -XPOST -H "Content-Type: application/json" [email protected] localhost:8000/AAaaAaAaaaThis assumes that .env-sample file is unchanged and symlinked/moved to .env.