ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Get a json file from url

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Andrei Popa
Get a json file from url
on Feb 23, 2018 at 5:02:49 pm

I have this url . I need to get that text. I have no idea how to do that, and it seems that it could be so simple. I have searched a lot through the web but found no real solution. Almost all involved jQuery, and i don't think that works with extendscript. The closest i got was this, but i got an error for direct ip not allowed.

reply = "";
conn = new Socket;
// access Adobe’s home page
if ( ("")) {
// send a HTTP GET request
conn.write ("GET /api/edge/audaciousleap/mnk79e4cztu4sgbyjqbzpje0j8v914n0/verify-purchase:2acfeef0-a573-4797-91bb-1b85855e7f62.json HTTP/1.0\n\n");
// and read the server’s reply
reply =;

My Envato portfolio.

Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 All Rights Reserved