ProofHub / api_v3

ProofHub Bolt's API
18 stars 8 forks source link

Attachments via API #8

Closed BC-CAE closed 2 years ago

BC-CAE commented 2 years ago

I have set up a MS Power Automate custom connector using http to send new SharePoint List items to create a task in PH. It looks like I have everything working except attaching the file attachment from the SP list to PH.

Here is my flow to send the file to get the file ID: image

I get the error "code": 1201, "message": "Incomplete headers" For the request body pid: file: Also, is the Content Type correct?

Here is the entire Flow headings: image The variable is an array to hold the multiple attachments, but I don’t think I can use that for PH and I have not used it.

BC-CAE commented 2 years ago

I found the solution here Powerusers: Send file with HTTP Rest. Thank you SamPro!