cancel
Showing results for 
Search instead for 
Did you mean: 

Create Custom API on BTP DMS

0 Kudos
499

Dear Collegues,

We are trying to create a custom API on top of BTP DMS Service, Can someone help what type of File Format we should pass from Client side and How it can be handled in backend using Nodejs .

In which File format we should post data in DMS Service ( Binary , Blob , Base64 etc).

Any reference will be appreciated.

View Entire Topic
former_member210955
Active Participant
0 Kudos

BTP DMS any kind of file.

0 Kudos

I have converted to binary like below. But not able to see content and file size in DMS.

Here is the the conversion .

Here is the DMS response for file read.

Here contentlenght , type , streamid etc are missing.

former_member210955
Active Participant
0 Kudos

Are you using cmis js library ? If direct rest call. Then i suggest to try the same through a HTTP client like postman to understand the payload and then reflect the same in your code.