Page tree
Skip to end of metadata
Go to start of metadata

Fast

Bash simple
#!/bin/bash
# Usage: slackpost <webhook> <message>
message=$2
webhook=$1
curl -X POST -H 'Content-type: application/json' --data "{'text':'$message'}" $webhook

Proper

See slackpost.sh in attachements.

  File Modified
File slackpost.sh Apr 16, 2020 by kosar

  • No labels