Last active
November 4, 2020 02:27
-
-
Save mikenabhan/1d633bf45bf727b9dcd1d8744d757bc9 to your computer and use it in GitHub Desktop.
This is a bookmarklet to trigger a webhook in home assistant or node-red.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
var webhook_url = "WEBHOOK_URL_HERE"; | |
var request = new XMLHttpRequest(); | |
request.open("GET", webhook_url, true); | |
request.onreadystatechange = function() {; | |
}; | |
request.send(null); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment