Question

1
Replies
172
Views
Ashish Chase Member since 2016 16 posts
JPMC
Posted: 1 year ago
Last activity: 1 year 2 months ago
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
Share this page LinkedIn