#!/bin/bash TARGET_URL="https://outlook.office.com/webhook/<a bunch of numbers>" MESSAGE="$1" curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"$MESSAGE\"}" $TARGET_URL
Discover more from Christine Alifrangis
Subscribe to get the latest posts sent to your email.