Hi Roberto,
the ems-cmd
utility is a command-line client for the EasyMorph Server API. It must be run as a program by the external application.
In other words, ems-cmd
is a utility that converts command-line arguments into API calls to EasyMorph Server so that external applications don’t have to construct the API interaction logic themselves.
Another way to trigger a Server task is to use a light webhook. Tick the “Enable Get” checkbox and the webhook URL will be generated an enabled. When you open the URL from a browser, or send a GET request to the URL from another application, the task will be triggered automatically.
The screenshot above is made on a local Server installation, hence localhost
in the URL. In real life, there should be a real host name.
Note that you can also specify task parameters as URL parameters in the webhook URL.