go-sink/test.sh

4 lines
249 B
Bash
Executable File

#!/bin/bash
curl -X POST -H "Content-Type: application/json" -d '{"log_level": "error", "message": "This is an error log message via TEST.SH"}' http://localhost:5050/webhook
echo test | ./dist/go-sink_darwin_arm64
./dist/go-sink_darwin_arm64 log.log