Invoke workflow process using Curl command : could not connect to host
Hi All,
As examples given in the URL, https://docs.adobe.com/docs/en/aem/6-0/develop/extending/workflows/wf-extending/wf-rest-api.html
When I tried using the REST URL in our environment, got could not connect to host error.
For e.g. Get the list of running workflow
http://localhost:4502/etc/workflow/instances.RUNNING (in browser : gives forbidden access)
Using Curl command: curl -u admin:admin http://localhost:4502/etc/workflow/instances.RUNNING.json (gives error as : could not connect to host)
Same for starting a workflow.
My requirement is to start a workflow using the Curl command, but getting could not connect to host error on localhost author instance. Please advice.
Thanks,
Anand