Question

Send a file blob in the web service element

Hello Community!

 

I would like to know if there is posible to send a attachment like byte[] or blob throw the web service element for a business process.

 

Thanks,

 

Like 0

Like

2 comments

Hi Federico, 

 

There are no precise restrictions on byte[] or blob attachments; however, could you please specify your business task so we could understand how to implement it better?

 

Regards,

Anastasiia

Hi Anastassia. 

 

I need to send the "Data" field to a webservice post. I have the webservice added for use with the element, but can't find the correct parameter to send my file like byte[] from the business process.

 

This is my request in CURL

 

curl --location --request POST 'https://test/upload' \

--header 'Content-Type: multipart/form-data' \

--header 'Authorization: {{api-key}}' \

--form 'file=@test.pdf' \ //Need to be application type/pdf

--form 'summary='descripción del documento' \

 

Show all comments