Updated Notify_enigma2 (markdown)

master
Chris Caron 2020-08-03 10:12:25 -04:00
parent 9e2e2365c6
commit 7a46b6ec14
1 changed files with 6 additions and 3 deletions

@ -38,7 +38,8 @@ Valid syntaxes are as follows:
Send an notification to our Enigma2 Device:
```bash
# Assuming our {hostname} is dreambox
apprise enigma2://dreambox
apprise -vv -t "Test Message Title" -b "Test Message Body" \
enigma2://dreambox
```
### Header Manipulation
Some users may require special HTTP headers to be present when they post their data to their server. This can be accomplished by just sticking a hyphen (**-**) in front of any parameter you specify on your URL string.
@ -47,7 +48,8 @@ Some users may require special HTTP headers to be present when they post their d
# X-Token: abcdefg
#
# Assuming our {hostname} is vu-device
apprise "enigma2://localhost/?-X-Token=abcdefg"
apprise -vv -t "Test Message Title" -b "Test Message Body" \
"enigma2://localhost/?-X-Token=abcdefg"
# Multiple headers just require more entries defined with a hyphen in front:
# Below would set the headers:
@ -55,5 +57,6 @@ apprise "enigma2://localhost/?-X-Token=abcdefg"
# X-Apprise: is great
#
# Assuming our {hostname} is localhost
apprise "enigma2://localhost/path/?-X-Token=abcdefg&-X-Apprise=is%20great"
apprise -vv -t "Test Message Title" -b "Test Message Body" \
"enigma2://localhost/path/?-X-Token=abcdefg&-X-Apprise=is%20great"
```