REST API Client Connector

Hi ,

I am trying to configure my REST API connector  GET to download PDF file form AWS S3. The connector returns    bodyAsString as String type.

I get correct String with all PDF data but when I convert to Bytes and add to the DocumentValue , the pdf empty the conversion is not working well .

Can I overwrite the return type that connector returns. What I want it  get as a stream  and not as a String Type and t convert to Bytes

Thanks.