This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const axios = require("axios"); | |
/* | |
1- In Microsoft Teams, choose More options (⋯) next to the channel name and then choose Connectors. | |
2- Scroll through the list of Connectors to Incoming Webhook, and choose Add. | |
3- Enter a name for the webhook, upload an image to associate with data from the webhook, and choose Create. | |
4- Replace the webhook URL into this variable. | |
*/ | |
const webhookURL = "https://outlook.office.com/webhook/XXXXX...XXXXX/IncomingWebhook/XXXXX...XXXXX"; |