mirror of
https://github.com/caronc/apprise.git
synced 2024-12-13 10:21:51 +01:00
Updated Notify_Custom_XML (markdown)
parent
d994cfd24f
commit
9a0cfa39e9
@ -52,7 +52,8 @@ Valid syntaxes are as follows:
|
|||||||
Send a XML notification to our web server listening on port 80:
|
Send a XML notification to our web server listening on port 80:
|
||||||
```bash
|
```bash
|
||||||
# Assuming our {hostname} is xml.server.local
|
# Assuming our {hostname} is xml.server.local
|
||||||
apprise xml://xml.server.local
|
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||||
|
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 hyphen (**-**) in front of any parameter you specify on your URL string.
|
||||||
@ -62,7 +63,8 @@ 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 "xml://localhost:8080/path/?-X-Token=abcdefg"
|
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||||
|
"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:
|
||||||
@ -71,5 +73,6 @@ apprise "xml://localhost:8080/path/?-X-Token=abcdefg"
|
|||||||
#
|
#
|
||||||
# Assuming our {hostname} is localhost
|
# Assuming our {hostname} is localhost
|
||||||
# Assuming our {port} is 8080
|
# Assuming our {port} is 8080
|
||||||
apprise "xml://localhost:8080/path/?-X-Token=abcdefg&-X-Apprise=is%20great"
|
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||||
|
"xml://localhost:8080/path/?-X-Token=abcdefg&-X-Apprise=is%20great"
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user