Question

1
Replies
180
Views
Ashish Agrawal (Ashish Chase)
JPMC

JPMC
IN
Ashish Chase Member since 2016 16 posts
JPMC
Posted: July 14, 2019
Last activity: July 17, 2019
Posted: 14 Jul 2019 22:23 EDT
Last activity: 17 Jul 2019 5:28 EDT
Closed

How to read the complete stream from the HTTP Connector

Hi,

We have a http URL which can download a PDF file. We were trying to call this from Pega using the HTTP Connector. However not able to get the complete stream of the pdf. Please suggest what is the best way to do this?

As of now, we wrote the HTTP Connector and in response we used a parse structured rule where we are using the Parse-Char-Pos method. But the challenge is the length of bytes we are not able to understand how to pass dynamically. If we provide the content-length that comes in header of response, it gives error.

Pega Platform Data Integration
Moderation Team has archived post, 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.