How to download binary data with AP.request?
I am trying to download and parse the issue attachments and I faced with an issue. when I try to download zip attachment and parse it array buffer is zero length
const response = await AP.request({
url: attachment.content,
method: 'get'
});
data = new Uint8Array(response.body);
console.log(data); // length is 0
btw: text content type working is ok