Page 1 of 1

Send a url to a web site

Posted: 14 Sep 2015 08:13
by fiets
Hi,

I want to make a button with a wiget that sends a url to a website. I do nog expect anything back from the website.
By sending the url I can switch a light on at home.

The url looks like "http://mysite/api/device/devicename/?set=ON

But I can't find a activity that works. Who can help me with this.

Thanks in advance

Re: Send a url to a web site

Posted: 15 Sep 2015 12:50
by clever_man
How you doing it?

Re: Send a url to a web site

Posted: 15 Sep 2015 13:08
by Martin
Hi,

You can send the request directly with Automagic without using a browser. Action HTTP Request with request method set to GET should work.

Regards,
Martin