mirror of
https://github.com/caronc/apprise.git
synced 2024-12-13 10:21:51 +01:00
Updated Notify_Custom_XML (markdown)
parent
c7a478e3e9
commit
e71345f045
@ -47,4 +47,23 @@ Send a XML notification to our web server listening on port 80:
|
||||
```bash
|
||||
# Assuming our {hostname} is xml.server.local
|
||||
apprise xml://xml.server.local
|
||||
```
|
||||
### Header Manipulation
|
||||
Some users may require special HTML 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.
|
||||
```bash
|
||||
# Below would set the header:
|
||||
# X-Token: abcdefg
|
||||
#
|
||||
# Assuming our {hostname} is localhost
|
||||
# Assuming our {port} is 8080
|
||||
apprise "xml://localhost:8080/path/?-X-Token=abcdefg"
|
||||
|
||||
# Multiple headers just require more entries defined with a hyphen in front:
|
||||
# Below would set the headers:
|
||||
# X-Token: abcdefg
|
||||
# X-Apprise: is great
|
||||
#
|
||||
# Assuming our {hostname} is localhost
|
||||
# Assuming our {port} is 8080
|
||||
apprise "xml://localhost:8080/path/?-X-Token=abcdefg&-X-Apprise=is%20great"
|
||||
```
|
Loading…
Reference in New Issue
Block a user