Skip to main content
Participant
November 1, 2018
Question

Is there a way to initiate REST calls from AE extendscripts?

  • November 1, 2018
  • 1 reply
  • 854 views

I want to execute a rest call from extenscript. I looked at getURl.jsx but looks like it is tied to Adobe Indesign extendscript calls. What are the possible options and approaches to retrieve a data inside of the script via REST. Thanks for the help.

This topic has been closed for replies.

1 reply

Community Expert
November 1, 2018

you can do HTTP calls by creating a Socket object. (it's in the

extendscript docs)

i used it with GET and PUT. i see no reason why REST won't work.

NealKAuthor
Participant
November 6, 2018

Thanks for the suggestion. The challenge is connecting over SSL. Plus I would like ease of use and no need to worry about pre and post processing of the responses. Has anyone ported getURL script for After effects?

Community Expert
November 6, 2018

indeed you can't call HTTPS using the extendscript API.

however, someone reported to have solved it:

https://coppieters.nz/?p=133

i didn't try it myself.