cancel
Showing results for 
Search instead for 
Did you mean: 
eyalseg
Nintex Newbie

Add attachment to a list using rest

Hi everyone

I have used this:

NWF$.ajax(

   { url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('test3')/items(" +    IDfrm + ")/AttachmentFiles/ add(FileName='" + fileName +    "',overwrite=false)?   $expand=ListItemAllFields",

  method: 'POST',

...

In oreder to add file from input,

What could be the problem?

0 Kudos
Reply
1 Reply
TomaszPoszytek
Nintex Newbie

Re: Add attachment to a list using rest

Possibly some CORS issues. Check this post:  

Regards,

Tomasz

0 Kudos
Reply