I can send POST request with curl -X POST -H "Content-Type: application/json" -d "{}" http://127.0.0.1:8080/test/alert with cors enabled, and it responds with status:200. Also I can receive the right message {}
I disabled the whitelist in graylog, so I can send the message to wherever I want.
But in Alters > notification tab, I received following message, and couldn’t receive any data with my server.
so you run your Graylog in a docker container and point to localhost … did you forward the localhost from inside the Graylog docker container to your notification container/service or did you run that inside the same container?
127.0.0.1 IN the Graylog container is different from 127.0.0.1 of your workstation.