Hi,
I'm trying to get attachment (image) content and convert it to base64 string using this endpoint GET /rest/api/3/attachment/content/{id}
I'm getting the content as escaped ascii unicode (I guess)
and it looks like this:
����\u0000\u0010JFIF\u0000\u0001\u0002\u0000\u0000d\u0000d\u0000\u0000��\u0000\u0011Ducky\u0000\u0001\u0000\u0004....
I've been trying to unescape it, convert manually etc. – nothing worked out.
Could you please confirm that this endpoint is working correctly, as I can see Experimental tag on it?
Could you please give me a hint how to decode this binary and convert it to base64?
Also, I think it could be helpful to give an option to download the attachment as base64 string, at lease for the images.
Thank you!