Direct SharpTools to IFTTT Webhook Trigger Tiles

An option for the special Hyperlink REST API syntax. Here’s a snippet of the current syntax for reference:

What I’m proposing is an extra ‘options’ parameter:

HTTP GET

$.get(url, options)

HTTP POST

$.post(url, data, options)

With a proposed option for proxying through the SharpTools servers to avoid CORS issues being something like the following:

HTTP GET

$.get("https://maker.ifttt.com/trigger/change_volume/with/key/XXXXX", {"proxy": true})

HTTP POST

$.post("https://your.cool.url", {"volume": 10}, {"proxy": true})
1 Like