I need to send a URL to HA to handle a request.
javascript:%7Bwindow.location=‘SERVER?url=’+encodeURIComponent(window.location.href)%7D
With that code I can send the url to a php server, but I am not sure how to integrate this into HA.
The goal is to download the URL with a CLI command from HA. So I would need to pass the URL to that shell script.
Any ideas?