Make web request Help


#1

I am trying to make a simple web request to a Shelly device:
http://IP/relay/0?turn=on

Note: I am using the local LAN IP address. Does Webcore executes inside my Network or do I need the Public IP address and then route to the correct internal IP one?

If I execute it in the browser it works fine but I cannot make it work inside a piston.

I manually tested the piston as it does not subscribe to events.


#2

Local IP addresses will work within webcore. Actually, local AND public work for me. I use this with a local IP.


#3

It should work fine, but is it really a POST? The URL has more of the look of a GET.