<div dir="ltr"><div dir="ltr">On Thu, Jan 24, 2019 at 11:36 AM RT <<a href="mailto:ratulloch@gmail.com">ratulloch@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:small;color:rgb(0,0,0)"><br>I'm trying to turn on and off a device using Pd by sending a URL. At the moment to turn the device on I just type in a url in the browser and to turn it off I type in another one url .<br>To turn the device on I send <a href="http://192.168.1.123/relay/0/?turn=on" target="_blank">http://192.168.1.123/relay/0/?turn=on</a><br>To turn the device off I send <a href="http://192.168.1.123/relay/0/?turn=off" target="_blank">http://192.168.1.123/relay/0/?turn=off</a> <br><br></div></div></div></div></blockquote><div>If you don't have to use vanilla Pd it's easier to use [httpreq] and [tcpclient].</div><div><br></div><div>Martin</div><div><br></div></div></div>