added Bash example
This commit is contained in:
parent
31b173ee81
commit
8d90060ca2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue