Showing results for 
Search instead for 
Did you mean: 
New Member

Trying to fit Curl request into Power Automate HTTP


I'm having troubles trying to fit my working cURL request in to HTTP action within Powe Automate. Basically what it does is that it sends a pdf file to a specific web resource. The format is as follows:

curl --request POST 'URL_to_API' 
--header 'api-token: API_TOKEN' 
--header 'user: USER' 
--header 'Content-Type: multipart/form-data; boundary=----MyFormBoundary' 
--form 'upload_as="expanded_pdf"' 
--form 'file=@"/my_contract.pdf"'

 I can't seem to find the correct way to setup the Body for this call. Any help would be greatly appreciated 🙂


Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,070)