getData() do not work getResponse do not work.
How qx.io.rest.Resource function ?? its so confusing.


On Fri, Jun 20, 2014 at 10:32 AM, Phyo Arkar <[email protected]>
wrote:

> I am pulling my hair out, i want the response data from rest but no avail.
>
>     long_poll: function (chan,lastid) {
>       var query = {
>        "get": { method: "GET", url: "/json"},
>        "post": { method: "POST", url: "/json"}
>
>       };
>       longpoll = new  qx.io.rest.Resource(query)
>
>       longpoll.addListener("postSuccess",function(e){
>         var req = e.getData();
>         console.log(req);
>         var response = req.getResponse();
>         //
>        console.log(response)
>       })
> That result in error.
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to