- Create a channel
- Add the connector "Incoming Webhook"
- Get the connector URL
set URL=https://outlook.office.com/webhook/6ec7c854-ac26-441b-89db-22222222@11111111-f841-496f-8a84-eff218b6ee27/IncomingWebhook/44444444444444444444/1f15fc1e-aea1-474a-a7b3-33333333333333 set DATA={""@context"": ""http://schema.org/extensions"",""@type"": ""MessageCard"",""text"": ""Hello World Yvon""} curl.exe -XPOST -H "Content-type: application/json" -d "%DATA%" %URL%
No comments:
Post a Comment