2

How does one upload an attachment to a list item using JavaScript/HTL5 file upload API and the ListData.svc API?

I know I can do this using managed CSOM but I want to understand the SP 2010 REST API better. Currently I am getting the error:

Invalid slug header for attachment. Slug headers must be of the form "EntitySet,ItemId,Name"

If anyone knows of a resource they could point me to I would appreciate it!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.