Hi,
I’ve been using the commandline API and the remote-api with some success to automate some tasks, but I’m a little stuck on using run-command with the remote cgi api.
Can anybody give me a working example.
For example, doing this: https://server:port/server-manager/remote.cgi?program=run-command&host=knownhost&df
yields: sh: --df: command not found
Exit status: 0