Return Image instead of JSON
Hi!
I would like to write a small script that returns a png with a QR code. Is it possible to return the result as binary format and not base64 encoded? I tried custom return content type but the image is still returned as base64 string.
Thanks!
3 Replies
you could probably enable shared directory for flow and then just save it to
./shared folder instead of returning it directly from script.other option is to put it on s3 and access it from there
Thank you for your help. So it is not possible? I want to hook into an existing application (homebox). That does not support s3 sadly, but expects an image as return.