AnsweredAssumed Answered

Get returned value on Curl

Question asked by sakshik on Aug 3, 2017
Latest reply on Aug 3, 2017 by sakshik

I have a main function in my webscript:

mywebscript.js

function main()

{

....

....

return arr;

}

main();

 

How do I get arr when I call this script using curl command.

curl "http://.../alfresco/service/mywebscript"

Outcomes