diff --git a/Notify_Custom_Form.md b/Notify_Custom_Form.md index 12feaa8..9cc33f5 100644 --- a/Notify_Custom_Form.md +++ b/Notify_Custom_Form.md @@ -79,4 +79,22 @@ The payload can have entries added to it in addition to the default `body`, `tit # Assuming we want to include app=mysystem as part of the payload: apprise -vv -t "Test Message Title" -b "Test Message Body" \ "form://localhost/?:app=payload" +``` + +### 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" \ + "form://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" \ + "forms://example.ca/my/path?-key1=value1&-key2=value2" ``` \ No newline at end of file