It depends on what you are trying to achieve. You could probably do it with a rule.
The Commands wiki explains how to send http and how to set up a rule.
Regards
Phil K
Sent from Mail for Windows 10
--
You received this message because you are subscribed to the Google Groups "SonoffUsers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonoffusers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Something like
Rule1 on switch1#state do websend 192.168.0.120 test.php endon
--