Hi, all.

According to  documentation
<http://demo.qooxdoo.org/current/apiviewer/#qx.io.request.AbstractRequest~requestData>
 
, requestData can handle ArrayBuffer parameter. However when I try this:

var buf = new ArrayBuffer(16);
var ar = new Uint8Array(buf);
for(var i = 0; i < ar.length; i++) 
    ar[i] = i * 10;
request = new qx.io.request.Xhr();
request.setUrl(url);
request.setRequestData(buf);
request.send();

I get the following error:

Error: params must be either string or object

What am I doing wrong?



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Sending-AJAX-request-with-array-in-request-tp7588323.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to