Question
LTIMindTree
US
Last activity: 9 Sep 2021 6:40 EDT
How to get file content( binary stream) in a response property of type string in connect rest response
We have a requirement to download a PDF file from an external system which exposed a REST API.
In pega(v8.3.5), we have created a CONNECT-REST to call this REST API and tried to access document from external system.
We are using Get Method to fetch the content from rest API but not sure how to map the response which is coming from service in binary form to pega property.
Does any body implement this with CONNECT-REST? Please suggest any way to solve this problem.