I want to download a file - when I enter the URL in the browser it downloads.
When I use the HTTP request in power automate is returns a 302 error. I have tried the run after failed option but this returns a another http link as opposed to the body content.
I have attached the flow and a screenshot from power automate.
If I click deal with the 302 redirect response in postman it downloads the file correctly, wondering how to do this in power automate.
hi @thomas1992UK your link is public? Becouse 302 error is when you have headers to redirect the link, so you need to disable redirect headers from your website.
@thomas1992UK mm ok, so in body you need to add the parameter you need to correctly log in. Parameters like this.
@thomas1992UK another thing you can do is run after error because as I told you the error is an redirect error so maeby you need someting in you header html page.
Thanks, now I have this bit working.
When I get the body from the HTTP request it returns it like the image (binary?), how do I transform this to a viewable image?
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.