tags:

views:

156

answers:

2

Hi all,

I try to send a request to my server via GET, but qooxdoo sends request as OPTIONS. Is any way to change this behaviour?

I try to use qx.data.store.Json (url) and qx.io.remote.Request (url, "GET", type) but result is same in both cases.

My version of qooxdoo is 1.0.1, browsers are FF 3.5.6 and Chromium 5.0.361.

A: 

I think this is because I try to send cross-domain request from file:/// to http://. If I deploy a test application to server - it works fine.

W55tKQbuRu28Q4xv
+1  A: 

Hello,

It is most likely a problem due to cross browser restrictions. Give the JSONP store a try and deliver your data as JSONP to get rid of that problem.

Martin Wittemann
Thanks! JSONP works. I read http://news.qooxdoo.org/tutorial-part-3-time-for-communication - but I completely don't understand how to use JSONP store.
W55tKQbuRu28Q4xv