Hi,
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.
Proud to be a Flownaut!
@thomas1992UK mm ok, so in body you need to add the parameter you need to correctly log in. Parameters like this.
client_id=exampleApiKey&client_secret=exampleSecret&username=someUsername&password=WithSomePassword
Proud to be a Flownaut!
@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.
Proud to be a Flownaut!
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?
Thanks,
Tom
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
63 | |
27 | |
22 | |
15 | |
15 |
User | Count |
---|---|
123 | |
46 | |
43 | |
35 | |
31 |