caronc / apprise

Apprise - Push Notifications that work with just about every platform!
https://hub.docker.com/r/caronc/apprise
BSD 2-Clause "Simplified" License
10.91k stars 384 forks source link

Simple https get request #1068

Closed lx05 closed 4 months ago

lx05 commented 4 months ago

:question: Question

Hi together,

I'm using Kuma Uptime with the Integration for Apprise. I'm trying to make a simple Get Request. I've tried using the forms://push.mydomain.de, but I don't know how to use the "method"-Parameter. There are only syntax examples for "user", "password", "hostname" and "port".

I just don't know how to separate the parameters?

Thanks for the help in advance

caronc commented 4 months ago

What are you trying to accomplish and maybe i can help with the syntax?

lx05 commented 4 months ago

I host two Uptime-Kuma instances. One in a Google Cloud Engine and one locally. I don't want to expose my docker-socket over the Internet, so my local Uptime-Kuma instance monitors my containers and now I want to tell the external Uptime-Kuma instance (my main one with all my stuff monitored) if something changes. I dont want to expose the local Uptime-Kuma instance via my domain, so my thought was to just use the push feature.

The external Kuma-instance now expects a get request on the url "https://something.mydomain.de/api/push/GRTxdSta19?status=up&msg=OK&ping=" every 10mins. I now have to send a get request from the local Kuma instance. Kuma can't send GET-Requests natively, only POST requests. So Im trying to use apprise to send a get request to this url.

caronc commented 4 months ago

Try:

lx05 commented 4 months ago

Worked perfectly, thank you so much!!!