diff --git a/Notify_Custom_XML.md b/Notify_Custom_XML.md index 270bc4c..40c7d72 100644 --- a/Notify_Custom_XML.md +++ b/Notify_Custom_XML.md @@ -59,6 +59,40 @@ Send a XML notification to our web server listening on port 80: apprise -vv -t "Test Message Title" -b "Test Message Body" \ xml://xml.server.local ``` + +### Payload Manipulation +Making use of the `:` on the Apprise URL now allows you to alter and add to the content posted upstream to a remote server. + +```bash +# Add to the payload delivered to the remote server as if it was part +# the prepared message Apprise would have otherwise put together +# +# Assuming our {hostname} is localhost +# Assuming we want to include "Sound": "oceanwave" as part of the existing payload: +apprise -vv -t "Test Message Title" -b "Test Message Body" \ + "xml://localhost/?:Sound=oceanwave" +``` + +The above would post a message such as: +```xml + + + + + 1.0 + Test Message Title + info + Test Message Body + oceanwave + + + +``` + + ### 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 plus symbol (**+**) in front of any parameter you specify on your URL string. ```bash