0

In jQuery i can append GET parameters by specifying argument data:

// sends request to http://example.com?foo=bar&hello=world
$.ajax({
    url: 'http://example.com',
    method: 'get',
    data: {foo: 'bar', hello: 'world'}
})

However I can't see such option in qooxdoo documentation. Of course I can encode parameters into url manually, but I can't believe that such a large javascript framework can't do this.

Maybe I am wrong and qooxdoo API accepts GET parameters in some way?

culebrón
  • 34,265
  • 20
  • 72
  • 110
Vladimir Lagunov
  • 1,895
  • 15
  • 15

1 Answers1

0

This is currently not supported as we wanted to keep the XHR implementation very close to the spec [1], as you can see in the API docs [2]. But this might be a good feature to be added in the future!

Martin Wittemann
  • 2,109
  • 1
  • 12
  • 14
  • Then why does the documentation state an optional 'data' parameter for the q.io.xhr.send function? That is horribly misleading and probably results in wasting precious time figuring out why the data isn't being passed. Please fix your docs: http://demo.qooxdoo.org/2.0.2/website-api/#Xhr – Jaffer Oct 03 '12 at 12:48
  • The data is used for POST and therefore is necessary. – Martin Wittemann Oct 19 '12 at 06:01