added Bash example

master
cheetah 4 years ago
parent 31b173ee81
commit 8d90060ca2

@ -2,7 +2,7 @@
## Bash Library for sending out Pages and/or getting their State ## Bash Library for sending out Pages and/or getting their State
# dependencies: curl, jq # dependencies: curl, jq
# echo "Bericht" | send_page "duplex" "dapnet=dl-all#DXxxx" # echo "Bericht" | send_page "http://127.0.0.1:3000" "duplex" "birdyslim" "dapnet=dl-all#DXxxx"
send_page() { send_page() {
text=$(cat -) text=$(cat -)
endpoint=$1 endpoint=$1

Loading…
Cancel
Save