Hi,
I would like to make a web request to a URL when one of my virtual switches is turned on. I would like for the web request to be a POST request with a content type of application/json. I also have a body I would like to send in the request.
Currently I am using IFTTT and a maker channel to pull this off. However, that service can be a bit unreliable. I wanted to see if this can all be handled via Smart Things somehow.
CoRE can do this.
1 Like
Here’s another approach:
1 Like
Thanks for posting this! I actually have the same issue with older X10 devices and I already had a web page interface with a special driver I wrote for controlling them. All I needed to do was grab this device handler, install it, and configure my X10 devices! (Of course, my web interface was returning ascii text and this caused an internal error in SmartThings when it tried to parse it as json. I just changed my server’s script to not return any reply and it works fine now!) Anyway, I just wanted to thank you for posting this as it saved me hours of time developing my own!
1 Like