Sending commands to a DLI WebSwitch

I am trying ot send commands from the Mikrotik a DLI to turn outlets on and off.

Here is the info from DLI
I am trying to send commands to a Digital Loggers Web power Switch.

The manual tells me that I can send commands like this:
"Using cURL or a similar function
You can authenticate and start a script using cURL tool. There are library and command line versions of this tool. For example, cURL http://admin:1234@192.168.0.100/script?run020=run starts a script on line 20 at the default IP after authenticating admin with password 1234.

  • Three digits for the script line number are required "

There is also a how to with perl
Usage of the compiled version is:
UserUtil [:port] login:password <[n]{on|off|pulse|status}>

Examples:

UserUtil 192.168.0.100:80 admin:1234 5on
<logs in as admin/1234 then turns outlet 5 on>

UserUtil 192.168.0.100:80 admin:1234 status
<logs in as admin/1234 then requests status>

UserUtil 192.168.0.100:80 admin:1234 5off 6off 7on
<logs in as admin/1234 then turns outlets 5 and 6 off and outlet 7 on>


Any help would be great.