Sending a PDF document through a web service
Good day. I have a big task, and the last part is sending the document through a web service.
Generally speaking, I need to send not only a document, but an array of objects, among which there are documents. Documents will be in PDF format.
As I could see, the "Content type" field is protected from changes and is always JSON.
Is there any simple (or at least some) way to accomplish the task sent to me?
I have an example of performing this task in Java and there the document is loaded into the stream and then passed as an attribute ContentReference, but I do not understand how to implement this in bpm'online ..