REST Adapter With Attachment Cannot have JSON Response
Content
We have REST adapter integration where we configured the response to have attachments.
Also, the response includes json response as summary of the attachment file contents.
Everything works fine and as expected, we're able to receive the attachment file successfully at the response. But the response is not json, it's multipart/mixed.
For example:
<data contentType="multipart/mixed; charset=UTF-8" contentLength="390"><![CDATA[{ "status" : "1"}]]></data>
At the REST adapter wizard, at Response tab, once we choose "Accept attachments from response", the only available media types are only "multipart/mixed" and "multipart/form-data". And this explains why we receive the response like that.
0