REST API Extension
Hi, i would like to create REST API Extension for Bonita that can return file (to download). I stores files on a server machine and on call GET MyRestApiExtension Service i would like to server file, that can be download. On RestApiResponseBuilder i set mediaType n application/octet-stream and i also add additional header "Content-Disposition" but i have problem to server files bytes to response.
Have anyone do this or is it even posible.
To make sure that I answer correctly, can you confirm that:
- Your file is stored on the file system of the server where Bonita web application is deployed?
- That you want the user to be able to download the file from a Bonita form?