hello
i am looking for an HTTP Post body example to send alert to mattermost channel.
i did not find any useful resource on internet.
Have you checked the API reference https://api.mattermost.com/#tag/introduction ?
no did not check mattermost API but i found these code tamplate that work fine
payload={"channel": "network-alarm-solarwinds","icon_url": "https://mattermost.org/wp-content/uploads/2016/04/icon.png","text": "#### Solarwinds\n please review the alarm\n Alarm name : ${N=Alerting;M=AlertName}Node Name: ${N=SwisEntity;M=Caption} IP address: ${N=SwisEntity;M=IP_Address} vendor: ${N=SwisEntity;M=VendorInfo.Description}Node Status : Currently in ${N=SwisEntity;M=Status} State. "}