AnsweredAssumed Answered

Extract binary attachment

Question asked by Abhishek.Subramanya on Jun 14, 2016
Latest reply on Jun 21, 2016 by Abhishek.Subramanya

Hi Folks,

                 I am trying to extract the contents of the attachment in the request, but I am not able to read the attachment data.

Request - I am sending an xml file & a jpg file as attachments.

curl -i -X POST -F "data=@download.jpg" -F "data=@sample.xml" https://<IP>:<port>/test/attachments



I am logging the below context variables in the policy. I am also able to see that gateway has identified that request has 2 attachments . But unable to view the attachment body-

  • - 8783
  • - 88
  • -
  • -
  • - image/jpeg
  • - application/octet-stream




Abhishek Subramanya