kpatronas / curl-teams-webhook

Use curl to send an MS Teams Webhook

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

curl-teams-webhook

Sent an MS Teams webhook from the command line easily!

setup

chmod +x ./webhook.sh

Parameters explaination

# Pipe text from another command
command | ./webhook.sh <webhook>

# or use a text file as parameter
./webhook.sh <text-file> <webhook>

Examples

Pipe data to the string

echo "hello" | ./webhook.sh https://gtechcorp.webhook.office.com/webhookb2/.....

Use a file

./webhook.sh text.txt https://gtechcorp.webhook.office.com/webhookb2/.....

About

Use curl to send an MS Teams Webhook

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%