Looking for example to read in a zip file from api call(specific url) using java in adobe campaign.
Retrieve a zip file then decompress
started by
/* URL */
var url = "https://MY-URL";
var http = new HttpClientRequest(url);
http.header["Connection"] = "Keep-Alive";
http.header["Content-Type"] = "application/x-www-form-urlencoded";
http.header["Authorization"] = "Basic" + getOption("MYAUTH")
http.method = "GET";
http.execute();
http.disconnect();
logInfo("Processing complete.");