mirror of
https://github.com/caronc/apprise.git
synced 2024-12-12 18:01:08 +01:00
Updated Notify_Custom_XML (markdown)
parent
7492607d92
commit
789059d025
@ -56,7 +56,7 @@ apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
|||||||
xml://xml.server.local
|
xml://xml.server.local
|
||||||
```
|
```
|
||||||
### Header Manipulation
|
### 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
|
```bash
|
||||||
# Below would set the header:
|
# Below would set the header:
|
||||||
# X-Token: abcdefg
|
# 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 {hostname} is localhost
|
||||||
# Assuming our {port} is 8080
|
# Assuming our {port} is 8080
|
||||||
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
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:
|
# Multiple headers just require more entries defined with a hyphen in front:
|
||||||
# Below would set the headers:
|
# 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 {hostname} is localhost
|
||||||
# Assuming our {port} is 8080
|
# Assuming our {port} is 8080
|
||||||
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
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"
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user