Javascript request, change responseType

Hi There,

Is it possible to change the responseType of the AP.request from text to arraybuffer?

I have problem with converting string back to ArrayBuffer.

example here

Thanks