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?