Sent an MS Teams webhook from the command line easily!
chmod +x ./webhook.sh
# Pipe text from another command
command | ./webhook.sh <webhook>
# or use a text file as parameter
./webhook.sh <text-file> <webhook>
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/.....