I am having an issue in integrating Mattermost to the Kibana Alerting Destination. I couldn’t able to provide Body parameter in the Destination dashboard while configuring Mattermost, because of that i am getting error “400 Bad Request”. But when i pass the body using curl, response is success, i received msg in Mattermost.
Can someone pls advice me, how do i proceed further!? A Sample example is much appreciated
Curl ex;
curl -i -X POST -H “Content-Type: application/json” -d “{"text": "Hello, this is some text\nThis is more text"}” http://{your-mattermost-site}/hooks/xxx-generatedkey-xxx
While this can be enough to make some tests, I’d expect to have a dedicated API for providing webhook credentials. Would this be a feasible enhancement?