Uploading files through REST API

I have created an angular application to implement an approval process. I need to upload some files. But the api given in the documentation does not seems to work

The api that i tried was

/portal/fileUpload

a multi part post request to that api gives a 200 response but does not contain any data in the body. Even if the api is called without the cookies or header it still gives back a 200 response. Any suggestions other than writing my own file uploader?

Hi Yomal,

In your approval application, if you need to upload a document, I suggest you use CMIS connector available in Bonita Studio.The documentation gives you details about this CMIS connector, and you have a specific section explaining how to upload documents.

I hope this helps.

Delphine