mirror of
https://github.com/caronc/apprise.git
synced 2024-12-13 18:30:52 +01:00
Updated Notify_Custom_XML (markdown)
parent
ad7868f61e
commit
7226b77d65
@ -114,3 +114,21 @@ apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
|||||||
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"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### GET Parameter Manipulation
|
||||||
|
Some users may require GET parameters to be part of their POST. Any parameters you pass onto the Apprise command line are interpreted by Apprise itself as options/actions you wish to perform (such as changing `method=update`, or `cto=3`). To have Apprise ignore what was specified and past the content `as-is` upstream, you just need to prefix your entries with a minus (`-`) symbol.
|
||||||
|
```bash
|
||||||
|
# The below for example would post to http://localhost:8000?token=abcdefg
|
||||||
|
#
|
||||||
|
# The `-` symbol will get stripped off when the upstream post takes place
|
||||||
|
# Apprise knows not to do anything with the argument at all and pass it along as is.
|
||||||
|
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||||
|
"xml://localhost:8080/?-token=abcdefg"
|
||||||
|
|
||||||
|
# If you want to pass more then one element, just chain them:
|
||||||
|
# The below would send a a POST to:
|
||||||
|
# https://example.ca/my/path?key1=value1&key2=value2
|
||||||
|
#
|
||||||
|
apprise -vv -t "Test Message Title" -b "Test Message Body" \
|
||||||
|
"xmls://example.ca/my/path?-key1=value1&-key2=value2"
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user