Retrieve package zip file with PackageManager API
I'm trying to retrieve the package binary zip file using PackageManager API and not having much success. To elaborate, I have a custom workflow step running on AEM author 6.5.16 on-prem, where the package exists. In that process, I would like to obtain the package binary content programmatically and using HttpClient API POST the package to another instance of AEM using standard AEM REST call. I tried various approaches I found online but none of them seem to work. Is there a recommended, proven approach that anyone can suggest? Thanks in advance.
