Webhook slack sender msg to channel.
Consume this endpoint by POST method..
http://localhost:8088/webhook/slack/sender
Body.
{
"channel": "{CHANNEL}",
"userName": "{USERNAME}",
"iconEmoji": "{ICON}",
"msgText": "{MESSAGE}",
"webhookURL": "https://hooks.slack.com/services/{WEBHOOK_ID}"
}
cURL.
curl --location --request POST 'http://localhost:8088/webhook/slack/sender' \
--header 'Content-Type: application/json' \
--data-raw '{
"channel": "{CHANNEL}",
"userName": "{USERNAME}",
"iconEmoji": "{ICON}",
"msgText": "{MESSAGE}",
"webhookURL": "{WEBHOOK_ID}"
}'