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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate Http PU...
Power Automate
Unanswered

Power Automate Http PUt request for pdf file

(0) ShareShare
ReportReport
Posted on by 2

Help someone can help.

 

I have used POSTMAN to upload a pdf file and it work.:

JCW_0-1636983423923.pngJCW_1-1636983454812.png

JCW_2-1636983555852.png

 

 

I am trying to use Power Auto to do the request.

Here is what I got but its not working:

JCW_3-1636983653208.png

I assume its the Body part put I have no idea what to do here. I tried reading up on this issue but I could not get something that helped.

 

Your assistance would be great

 

Categories:
  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @JCW,

     

    I would add the content-type to the Headers section.

     

    Looking at your postman screenshots my guess would be that your body probably needs to be something like this:

    {
    "file": "<place dynamic File Content field here>",
    "type": "file"
    }

     

  • JCW Profile Picture
    2 on at

    I tried your advise: @Expiscornovus 

    JCW_0-1637037171697.png

    and receiving the following error:

    JCW_1-1637037249318.png

    JCW_2-1637037265568.png

    JCW_3-1637037286679.png

    JCW_4-1637037303730.png

    JCW_5-1637037319612.png

    So I am not sure what the issue is. I see the content-type is text/xml. Should that not be something else

  • Expiscornovus Profile Picture
    34,005 Most Valuable Professional on at

    Hi @JCW,

     

    Apologies if it wasn't clear. But I suggested in my previous reply to use the content-type multipart/form-data in the headers.

     

    However, it also looks like this type of content requires some different formatting in the body as well. It might be useful to have a look at this blog as well:

    https://willpage.dev/2019/12/20/using-the-http-action-to-post-multipart-form-data-in-power-automate-logic-apps/

     

    content_type.png

  • vichanda Profile Picture
    4 on at

    My requirement is also same. Not sure which format to mention in body

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard