Question

2
Replies
152
Views
Close popover
Dharshana Robertson (ShanaR)
National Australian Bank

National Australian Bank
AU
ShanaR Member since 2013 6 posts
National Australian Bank
Posted: July 5, 2019
Last activity: July 16, 2019
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,
Close popover 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.