Hello,
I have been racking my brains on this for a while, but I am struggling to come up with an answer. I am trying to have a post action script send the attachment content to a REST api for the purposes of updating a disparate system.
I have found the streamAttachmentContent and I have found code snippets regarding this, however here is where I fall down, as this requires a consumer, which in all the examples is for InputStreamConsumer which is not a resolvable class.
I am stuck right now, as I cannot import the utils.io package or anything to get this working. Any help would be useful.