On Thu, Jan 24, 2019 at 11:36 AM RT <ratulloch@gmail.com> wrote:

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 .
To turn the device on I send http://192.168.1.123/relay/0/?turn=on
To turn the device off I send http://192.168.1.123/relay/0/?turn=off

If you don't have to use vanilla Pd it's easier to use [httpreq] and [tcpclient].

Martin