Working Remotely With Your Configuration
Using The Apprise CLI
The following command would cause apprise to directly notify all of your services:
apprise --body="Test Message" \
apprise://142.44.137.227:8000/9dc55587de4fe2cef6c5506f6e4d20f7a6a417af459eaaf9a9fab8381c4e5946/?tags=all
Send one or more attachments like this:
apprise --body="Test Message" \
apprise:
--attach=/path/to/an/attachment.jpeg \
--attach=https:
The following command would cause apprise to retrieve the configuration loaded and
send a test notification to all of your added services:
apprise --body="Test Message" --tag=all \
--config=http://142.44.137.227:8000/get/9dc55587de4fe2cef6c5506f6e4d20f7a6a417af459eaaf9a9fab8381c4e5946
You may also create an
Apprise configuration file that contains this line somewhere in it:
include http://142.44.137.227:8000/get/9dc55587de4fe2cef6c5506f6e4d20f7a6a417af459eaaf9a9fab8381c4e5946
By leveraging the
include directive, it will automatically be referenced for future calls to the
apprise
tool. All future calls using Apprise now simplify to:
apprise --body="Test Message" --tag=all
Using CURL
The following command would cause the apprise api to notify all of your services:
curl -X POST \
-F "body=Test Message" \
-F "tags=all" \
http://142.44.137.227:8000/notify/9dc55587de4fe2cef6c5506f6e4d20f7a6a417af459eaaf9a9fab8381c4e5946
Send one or more attachments like this:
curl -X POST \
-F "tags=all" \
-F "body=Test Message" \
-F attach1=@Screenshot-1.png \
-F attach2=@/my/path/to/Apprise.doc \
http://142.44.137.227:8000/notify/9dc55587de4fe2cef6c5506f6e4d20f7a6a417af459eaaf9a9fab8381c4e5946
Sends a notification to our endpoints with an attachment
curl -X POST \
-F "tag=all" \
-F "attach=https://raw.githubusercontent.com/caronc/apprise/master/apprise/assets/themes/default/apprise-logo.png" \
"http://142.44.137.227:8000/notify/9dc55587de4fe2cef6c5506f6e4d20f7a6a417af459eaaf9a9fab8381c4e5946"