Close popover
Yuvraj Joshi (YUVRAJ10-1)
Tech Mahindra
Pega Architect
Tech Mahindra
YUVRAJ10-1 Member since 2011 3 posts
Tech Mahindra
Posted: October 25, 2016
Last activity: May 31, 2017

How to download a file( binary stream) received from external system REST Service response in Pega application

We have a requirement to search and download a document/file from an external system which exposed a REST API.

In pega(v7.1.7), we have created a CONNECT-REST to call this REST API and tried to access document from external system. We are able to search the documents Metadata( which is in JSON format) by mapping response to JSON.

But we are not able to download the file when tried the appropriate download function of externa API. However if we try the external API download URL in broswer it prompt the file download option.

We need the same(download prompt) from Pega screen, while user take download action and pega calls external download API via CONNECT-REST.

Does any body implement this with CONNECT-REST? Please suggest any way to solve this problem.

Thanks & Regards,

Yuvraj Joshi

Data Integration
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.