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 / Need help with Invoke ...
Power Automate
Unanswered

Need help with Invoke Web Service to POST file using multipart/form-data

(0) ShareShare
ReportReport
Posted on by 6

The vendor's API documentation shows the following for using curl to upload files to their system, but I am not sure how to put this into the invoke web service.

 

curl -i -X POST \
 'https://[THEIR API DOMAIN]/public/devices/{id}/documents' \
 -H 'Authorization: Bearer <YOUR_API_KEY_HERE>' \
 -H 'Content-Type: multipart/form-data' \
 -F type=EVIDENCE \
 -F file=string \
 -F 'base64File=[object Object]'

I have the URL field, method (POST), Content Type, and Authorization in the Header, but I'm not sure how to deal with the multipart/form-data for the type, file, and base 64.

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @davidengel 

     

    The same curl command you can run in PAD using run dos command action.

     

    Here are the details

    https://power.automate.gallery/send-file-attachments-to-jira-issues-using-curl

     

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 312 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 154 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 143 Super User 2026 Season 2

Last 30 days Overall leaderboard