Jan 15 2021 11:11 PM
Jan 16 2021 01:20 AM
You can use SharePoint REST API to upload attachment to SharePoint list items. You have to use below endpoint to do this:
/_api/lists/GetByTitle('listName')/items(<itemId>)/AttachmentFiles/add(FileName='<file name with extension')
check below links for detailed information:
Please click Mark as Best Response if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
Jan 18 2021 08:38 AM