From 9a0cfa39e96824a26cca5aa16995b69e85f4da8a Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Mon, 3 Aug 2020 09:44:21 -0400 Subject: [PATCH] Updated Notify_Custom_XML (markdown) --- Notify_Custom_XML.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Notify_Custom_XML.md b/Notify_Custom_XML.md index df4dcf9..715c753 100644 --- a/Notify_Custom_XML.md +++ b/Notify_Custom_XML.md @@ -52,7 +52,8 @@ Valid syntaxes are as follows: 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 +apprise -vv -t "Test Message Title" -b "Test Message Body" \ + xml://xml.server.local ``` ### 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. @@ -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 {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: # Below would set the headers: @@ -71,5 +73,6 @@ apprise "xml://localhost:8080/path/?-X-Token=abcdefg" # # Assuming our {hostname} is localhost # 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" ``` \ No newline at end of file