I am trying to Send an HTTP Request to SharePoint, and add an attachment I have in OneDrive to a SharePoint List.
In my flow:
- I list all files in OneDrive folder
- I loop through each File
- I get SharePoint List items
- I loop through each SharePoint item
- I then have a condition that checks if the OneDrive file name matches the SharePoint List name
- If it does, then I have the POST method of
- _api/web/lists('@{variables('ListId')}')/items('@{items('Apply_to_each_2')?['ID']}')/AttachmentFiles/Add
I am stuck after this part. What do I need to add to the Uri and what Headers and Body do I enter?


Report
All responses (
Answers (