You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have done that using the extendscript:
system.callSystem('curl https://api.gumroad.com/v2/licenses/verify -d "product_permalink=xxxxxxxxxx" -d "license_key='+licensekey+'" -X POST');
This works for me and for the majority of the users. But a few people get this error: "After Effects warning. ERROR: The system can not find the file specified"
Because of that error I am now trying to call the curl with node js instead. I have enabled it in the manifest and I have tried this:
OK. I found the problem. Curl is only available on Windows 10 17063 and above.
I would still love to hear if there is an alternative way of calling a curl from a CEP panel without using the system command.
Hi
I have released a plugin using Gumroads licensing system. https://help.gumroad.com/article/76-license-keys
I have done that using the extendscript:
system.callSystem('curl https://api.gumroad.com/v2/licenses/verify -d "product_permalink=xxxxxxxxxx" -d "license_key='+licensekey+'" -X POST');
This works for me and for the majority of the users. But a few people get this error: "After Effects warning. ERROR: The system can not find the file specified"
Because of that error I am now trying to call the curl with node js instead. I have enabled it in the manifest and I have tried this:
var exec = require('child_process').exec;
exec('curl https://api.gumroad.com/v2/licenses/verify -d "product_permalink=XXXXXXX" -d "license_key=XXXXXXXXXXXXX" -X POST', {encoding: 'UTF-8'}, function(err, stdout, stderr){alert(stderr)});
That gives me this error: 'curl' is not recognized as an internal or external command, operable program or batch file.
Can anybody help to the best way of calling the cURL from a CEP panel?
Thanks,
Jakob Wagner
The text was updated successfully, but these errors were encountered: