Updated Notify_Custom_XML (markdown)

Chris Caron 2020-10-04 11:03:43 -04:00
parent 7492607d92
commit 789059d025

@ -56,7 +56,7 @@ apprise -vv -t "Test Message Title" -b "Test Message Body" \
xml://xml.server.local
```
### 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.
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 plus symbol (**+**) in front of any parameter you specify on your URL string.
```bash
# Below would set the header:
# X-Token: abcdefg
@ -64,7 +64,7 @@ Some users may require special HTTP headers to be present when they post their d
# Assuming our {hostname} is localhost
# Assuming our {port} is 8080
apprise -vv -t "Test Message Title" -b "Test Message Body" \
"xml://localhost:8080/path/?-X-Token=abcdefg"
"xml://localhost:8080/path/?+X-Token=abcdefg"
# Multiple headers just require more entries defined with a hyphen in front:
# Below would set the headers:
@ -74,5 +74,5 @@ apprise -vv -t "Test Message Title" -b "Test Message Body" \
# Assuming our {hostname} is localhost
# Assuming our {port} is 8080
apprise -vv -t "Test Message Title" -b "Test Message Body" \
"xml://localhost:8080/path/?-X-Token=abcdefg&-X-Apprise=is%20great"
"xml://localhost:8080/path/?+X-Token=abcdefg&+X-Apprise=is%20great"
```