在jQuery中,我可以通过指定参数data
附加GET参数:
// sends request to http://example.com?foo=bar&hello=world
$.ajax({
url: 'http://example.com',
method: 'get',
data: {foo: 'bar', hello: 'world'}
})
但是我在qooxdoo documentation中看不到这样的选项。当然我可以手动将参数编码到url中,但我无法相信这么大的javascript框架无法做到这一点。
也许我错了,qooxdoo API以某种方式接受GET参数?
答案 0 :(得分:0)
目前我们不支持此功能,因为我们希望XHR实现非常接近规范[1],您可以在API文档[2]中看到。但这可能是将来添加的一个很好的功能!