web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / HTTP get download file
Power Automate
Answered

HTTP get download file

(1) ShareShare
ReportReport
Posted on by 27

Hi

 

I have a service that provides an API where I can download files with at HTTP GET command and basic auth. It works fine when Im testing the API with Postman but I cant find out how to download that file with Flow and for example put it in my onedrive. Anybody that could help me out a bit?

 

Regards,

 

Ozcar Ardfors

Categories:
I have the same question (0)
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @Ozcar,

     

    Please check the following blog:

    Five new services and improved advnaced capabilities for JSON and HTTP

     

    In your scenario, I think HTTP action and the Parse JSON should be suitable to work.

     

    Regards,

    Michael

  • Ozcar Profile Picture
    27 on at

    Hi

     

    Thank you for showing me that! It was super cool to parse JSON respones. But unfortunally I dont know how to write a schema that will take care of a binary gzip file. Any idea?

     

    Regards,

     

    Ozcar Ardfors

     

     

  • Verified answer
    ashwinsa Profile Picture
    Microsoft Employee on at

    If the file is a binary and you are looking for a way to simply transfer files between the HTTP endpoint and any storage service, you can add a HTTP to download the file and save the content using the "Create File". Here is an example of a flowHTTPSave.PNG

  • Ozcar Profile Picture
    27 on at

    Yes it works! Sometimes the solution is so so easy. Thank you very much.

     

    Regards,

     

    Ozcar Ardfors

  • Alerodri Profile Picture
    25 on at

    Hello Ozcar

     

    kann you post screenshots of the solution you used?

    Does your link links direct to the file or is a Callback or Server Response?

     

    It seems that with JSON can be done but I also don´t know how to do it exactly.

     

    I would strongly apreciate your help!

     

    Cheers

    Alex

  • Ozcar Profile Picture
    27 on at

    Hi

     

    Its very simple. Works exactly as described above. Do an HTTP GET and create the file with the body response. Not sure what is unclear with the solution.

  • Alerodri Profile Picture
    25 on at

    Thank you for your feedback Ozcar. The problem with this settings is that the URL is a redireccion, and I get a 302 error. These are the details.

     

    Do you have any ideas to manage this URLs?

     

    Thanks in advance.

     

     

  • Ozcar Profile Picture
    27 on at

    No it seems to be a problem with response from the service you are trying to use. I dont have a direct solution for you but I recommend to use Postman first before attempting to get it to work in Flow.

     

    https://www.getpostman.com/

  • Alerodri Profile Picture
    25 on at

    Hello Ozcar, 

     

    It just workt parsing the JSON. Thank you very much anyway.  This is how I did it. 

    Screenshot_5.png

  • dav_formica Profile Picture
    4 on at

    Is this working still? I'm trying the same exact thing but I don't get the "Body" variable containting the csv data from the HTTP GET.  Usually, when available it shows as Dynamic content but it's not there.   I typed it it to no avail.

     

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 173 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 95 Super User 2026 Season 1

Last 30 days Overall leaderboard