Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to render base64 image on response

Hello, everyone.

I'm looking for a solution to render a base64 image string on my response. Is it possible?

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<AssignMessage async="false" continueOnError="false" enabled="true" name="AM-set-image-response">
    <Set>
        <StatusCode>200</StatusCode>
        <ReasonPhrase>OK</ReasonPhrase>
        <Payload contentType="image/jpeg">{base64-image}</Payload>
    </Set>
    <AssignTo createNew="false" transport="http" type="response"/>
</AssignMessage>

The response appears broken

0 8 2,747
8 REPLIES 8