How to configure and test REST connector that supports multi-part binary attachments
Does anyone have any experience working on REST connector with Content-Type: multipart/form-data that can be used to send documents using POST. We have tried per Pega articles and discussion threads (mentioned below) and set the top level page pyRequestAttachmentPage with 4 properties but cant figure out a way to test or trace the attachment part. Any help on how can be debug or trace the document stream and content from Pega will be very helpful. We are using Pega 7.2.2. When checking Pega OOTB rule pyInvokeRESTConnector, it is using the PublicAPI pyInvoke so cant put some logger or output to console. In previous versions the same was written using Java steps in the activity, so we could have tried to intercept the payload and print the content int he console. Any help is much appreciated.
Does anyone have any experience working on REST connector with Content-Type: multipart/form-data that can be used to send documents using POST. We have tried per Pega articles and discussion threads (mentioned below) and set the top level page pyRequestAttachmentPage with 4 properties but cant figure out a way to test or trace the attachment part. Any help on how can be debug or trace the document stream and content from Pega will be very helpful. We are using Pega 7.2.2. When checking Pega OOTB rule pyInvokeRESTConnector, it is using the PublicAPI pyInvoke so cant put some logger or output to console. In previous versions the same was written using Java steps in the activity, so we could have tried to intercept the payload and print the content int he console. Any help is much appreciated.
https://collaborate.pega.com/question/sending-rest-call-attachment