Hi Ankur,
We are receiving the responseBody in Binary format. We want the responseBody to be attached as a pdf file to a current record. So using below code.
var base64string = GlideStringUtil.base64Encode(responseBody);
var attCreator = new GlideRec...