Thanks Martin. I've tried this and it's only in 2.0 - which is supposed 
to be had from git hub? If 2.0 is stable, maybe the download links on 
the homepage should be updated, as the documentation links point to 2.0, 
IIRC.

A small note to about upgrading to 2.0. I commented out the QOOXDOO_PATH 
in config.json and generate.py and added a new line for 2.0. However, 
this does not work as generate.py (getQxPath) will find the first 
occurrence of QOOXDOO_PATH in config.json even though it's commented 
out. I just thought I'd mention that in case someone else is having 
issues. Though it may be considered a bug, I'll let the devs decide.

The below works in 2.0. The source version also loads considerably 
quicker for me for some reason.

Many thanks for all the work put into 2.0! I shall use that from now.

Regards,

Simon

On 05/21/2012 10:34 PM, Martin Wittemann wrote:
> Hey,
> you can either use the second parameter in the post call like
>
> dataResource.post(null, data);
>
> or you use the invoke method:
>
> dataRessource.invoke("post", null, data);
>
> Regards,
> Martin
>
>
> Am 21.05.2012 um 14:18 schrieb Simon Walter:
>
>> Hi all,
>>
>> I've used the qx.io.rest.Resource class to GET data from my webservice,
>> though I cannot find a method to set the POST data for a POST request.
>> How do I do that?
>>
>> var dataService = {"post": { method: "POST", url: action }};
>> var dataResource = new qx.io.rest.Resource(dataService);
>> dataResource.setBaseUrl(this.baseUrl);
>> //dataResource.setData(data); // How do I do this?
>> dataResource.post();
>>
>> Simon
>>
>> --
>> simonsmicrophone.com
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


-- 
simonsmicrophone.com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to