8 lines
157 B
Bash
8 lines
157 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
#msg="\"{\\\"content\\\":\\\"$@\\\"}\""
|
||
|
msg="{\"content\":\"$@\"}"
|
||
|
echo $msg
|
||
|
|
||
|
curl -H "Content-Type: application/json" -d "$msg" \
|
||
|
#WEBHOOK URL
|