I try to build DevOps for SAP CPI. I need to download iFlow to local computer for that. I sent API REST request https://host.com/api/v1/IntegrationDesigntimeArtifacts(Id='someId',Version='1.0.0')/$value and got the response in binary data. (content removed by moderator)
In headers I see Content-Type →application/zip. The data is zip file.
I need to write the response to file and unzip the file for browsing files inside.
Anybody knows who to get it in java or python?? Everytime when I try - I get corrupted archive