logic app http connector download zip file

%3CLINGO-SUB%20id%3D%22lingo-sub-1556402%22%20slang%3D%22en-US%22%3Elogic%20app%20http%20connector%20download%20zip%20file%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1556402%22%20slang%3D%22en-US%22%3E%3CDIV%20class%3D%22body%22%3E%3CP%3EDear%20All%2C%3C%2FP%3E%3CP%3EI%20have%20to%20download%20Azure%20DevOps%20release%20logs%20and%20store%20them%20in%20a%20blob%20storage.%3C%2FP%3E%3CP%3EURL%20of%20release%20logs%20looks%20like%20as%20shown%20below%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fvsrm.dev.azure.com%2FXXXXX%2FXXXXXXXXXXXXX%2F_apis%2FRelease%2Freleases%2F9481%2Flogs%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fvsrm.dev.azure.com%2FXXXXX%2FXXXXXXXXXXXXX%2F_apis%2FRelease%2Freleases%2F9481%2Flogs%3C%2FA%3E%3C%2FP%3E%3CP%3EI%20have%20created%20a%20logic%20app%20and%20trying%20to%20get%20the%20zip%20file%20downloaded%20from%20above%20mentioned%20URL.%3C%2FP%3E%3CP%3Ein%20blob%20content%20step%2C%20I%20am%20putting%20value%20as%20%40body('http')%26nbsp%3B%20which%20should%20be%20zip%20response%20of%20the%20previous%20http%20request%20.%20but%20It's%20getting%20only%202%20line%20content%20and%20not%20actual%20zip%20file.I%20am%20able%20to%20see%20that%20in%20http%20connector%20response%20is%20coming%20as%3C%2FP%3E%3CP%3E%22Content-Disposition%22%3A%20%22attachment%3B%20filename%3DReleaseLogs_9481.zip%3B%20filename*%3Dutf-8''ReleaseLogs_9481.zip%22%2C%3CBR%20%2F%3E%26nbsp%3B%22Content-Type%22%3A%20%22application%2Fzip%3B%20api-version%3D6.0-preview.2%22%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20any%20one%20help%20in%20this%20regards.%3C%2FP%3E%3CP%3EI%20have%20to%20download%20this%20zip%20content%20and%20store%20them%20in%20blob%20storage%3C%2FP%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1556402%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Regular Visitor

Dear All,

I have to download Azure DevOps release logs and store them in a blob storage.

URL of release logs looks like as shown below:

https://vsrm.dev.azure.com/XXXXX/XXXXXXXXXXXXX/_apis/Release/releases/9481/logs

I have created a logic app and trying to get the zip file downloaded from above mentioned URL.

in blob content step, I am putting value as @body('http')  which should be zip response of the previous http request . but It's getting only 2 line content and not actual zip file.I am able to see that in http connector response is coming as

"Content-Disposition": "attachment; filename=ReleaseLogs_9481.zip; filename*=utf-8''ReleaseLogs_9481.zip",
 "Content-Type": "application/zip; api-version=6.0-preview.2",

 

Can any one help in this regards.

I have to download this zip content and store them in blob storage

0 Replies