AnsweredAssumed Answered

CMIS content update is adding text 'header' onto file

Question asked by ddelapasse on Jun 26, 2015
I'm attempting to update file content via the CMIS rest api.  THe update works, but something is adding:

Content-Disposition: form-data; name="filedata"; filename="dld1.txt"
Content-Type: text/plain

{file content}


My update curl command is:

curl -u ROLE_TICKET:{ticket} -v -X PUT -F filedata=@dld1.txt -H Content-Type='text/plain; charset=utf-8' http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/atom/content?id=0bcb384c-305e-4db9-9cc2-8dfdf10c9789

Would really appreciate any ideas!!!