Question
JPMC
IN
Last activity: 17 Jul 2019 5:28 EDT
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.