Question

2
Replies
137
Views
ShanaR Member since 2013 6 posts
National Australian Bank
Posted: 1 year ago
Last activity: 1 year 3 months ago
Closed

Mutilpart JSON request

I want to send a multipart JSON request with filecontent in base64 encoded format.

Solution in pega is have it in a top level attachment page (pyRequestAttachmentPage of type Data-ServiceMessage) and set the filetype, file content etc to that page. If there is any value in the attachment page, Pega automatically picks it and sends the request as multipart.

My issue is the REST service is expecting a specific JSON property name for the filecontent. Is there any other ways to create a mutipart request?

Low-Code App Development Data Integration
Moderation Team has archived post
Share this page LinkedIn