Upload attachment with SharePoint list item using REST API in .Net Core project

%3CLINGO-SUB%20id%3D%22lingo-sub-2830640%22%20slang%3D%22en-US%22%3EUpload%20attachment%20with%20SharePoint%20list%20item%20using%20REST%20API%20in%20.Net%20Core%20project%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2830640%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EI%20have%20created%20.net%20core%20project%20and%20implemented%20GET%2FPOST%20request%20with%20SharePoint%20list%20with%20reference%20of%20below%20link.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fwww.c-sharpcorner.com%2Farticle%2Fconsume-sharepoint-online-csom-rest-api-with-dotnet-core-3-1%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fwww.c-sharpcorner.com%2Farticle%2Fconsume-sharepoint-online-csom-rest-api-with-dotnet-core-3-1%2F%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CBR%20%2F%3ENow%2C%20I%20need%20to%20upload%20an%20attachment%20with%20SharePoint%20list%20item%20using%20REST%20API%20in%20.Net%20Core%20project.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3ECan%20anyone%20help%20me%20with%20the%20same%3F%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello Everyone,

I have created .net core project and implemented GET/POST request with SharePoint list with reference of below link.

https://www.c-sharpcorner.com/article/consume-sharepoint-online-csom-rest-api-with-dotnet-core-3-1/


Now, I need to upload an attachment with SharePoint list item using REST API in .Net Core project.


Can anyone help me with the same?


Thanks

0 Replies