Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

Issues with Sending PDF Files via HTTP Request in Power Automate

(0) ShareShare
ReportReport
Posted on by

Hello Power Automate Community,

I hope everyone is doing well. I'm currently working on a project where I need to send a PDF file using the HTTP Request connector in Power Automate, but I've encountered some challenges that I can't seem to resolve.

Here's the context:

  • I'm trying to send the PDF file to a third-party API using an HTTP POST request.
  • I used the base64() function to encode the file content before sending it. However, when I save the flow, the function gets reset to @{body('Get_file_content')}, which causes the request to fail.
  • I've attempted different approaches, but the issue persists.
Here are some print screens:
 
This is an example that doesn't work on Power Automate, but on postman it does work:
 

I would greatly appreciate any insights, suggestions, or resources to help me resolve this issue. Thank you in advance for your support and time!

Categories:

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard

Featured topics