3 Replies Latest reply on Sep 13, 2016 3:34 PM by ShazronAbdullah

    ios: ajax request gets sandboxed


      I am making an ajax request that returns an arraybuffer ... the call works on android but not on ios .. on ios i get this:

      Sandboxing '' because it is using HTTP/0.9.


      my request looks like this:

      var oXHR = new XMLHttpRequest();
      oXHR.open("POST", '', true);
      oXHR.responseType = 'arraybuffer';
      oXHR.onreadystatechange = function (oEvent) { ... }

      var input = {

        name: "camera.getImage",
        parameters: {

         fileUri: fileUrl // this is the path to the file on the remote host


      if (bThumb) input.parameters.maxSize = 500;


      btw the way ... the file is not publicly accessible ... there is no direct link ... this is why this api endpoint was created ... to return the actual content of the file