There is no builtin support for your use case.
Since application/pdf is binary, best create a GatewayScript that does read the PDF, and then generate multipart/form-data per spec yourself.
------------------------------
Hermann Stamm-Wilbrandt
DataPower, XML Compiler developer, L3
IBM
Boeblingen
49-7031-16-3032
------------------------------
Original Message:
Sent: Fri February 07, 2020 12:37 PM
From: Venkata Omkar Vusirikala
Subject: Conversion of application/pdf or text/html to mulitpart/form-data
We have scenario where we are receiving application/pdf or text/html from the consumer and we need to send the data as mulitpart/form-data to backend as backend only accepts data as mulitpart/form-data.
------------------------------
Venkata Omkar Vusirikala
------------------------------