Javascript – Pass bytes array from AJAX to Java
I'm trying to send a byte array to the server through AJAX: $.ajax({ url: armd.scieldan.server + "/detachedSignFile/", timeout: 120000, type: "POST", data: byteArray, responseType: 'arraybuffer', success: function(response) { console.log("Sign: " + response); }, error: function() { console.log("error"); } }); And…