Question

Evonsys (PVT) LTD
Evonsys (PVT) LTD
LK
Evonsys (PVT) LTD
Posted: 7 hours 55 minutes ago
Last activity: 7 hours 54 minutes ago
Last activity: 4 Mar 2025 8:32 EST
How to Send Binary File Data in Connector Request Body ?
Hi Team,
I have created a Connector rule in Pega, and I need to send a binary file as part of the request body. Additionally, I need to include the following headers in the request:
Authorization: Bearer <AccessToken>
Content-Type: application/octet-stream
I have also configured an Authentication Profile with OAuth 2.0 and Grant Type: Client Credentials to generate the access token.
My questions are:
- How can I properly pass the binary file content in the request body?
- In the Data Page, I have added other request data in the Request Data Transform. How can I ensure the binary file data is also included correctly?
- How can I confirm that the Authorization header is correctly passed when using the Authentication Profile?
Thank you,
Eranda.