I'm overriding the Rest Proxy's buildUrl method like this:
Code:
request.setUrl("http://" + serverUrl + ":8080/restapi/2.0" + url);
This worked perfectly, but I needed to add support for SSL, so I changed it to this:
Code:
request.setUrl("https://" + serverUrl + "/restapi/2.0" + url);
Performing this request outside of Sencha works great, but when I try to load it in my app (using Chromium with --disable-web-security), I get a strange error:
"GET https://10.0.87.97/restapi/2.0/entry-type Connection.js:314"
There's no sign of a response code, it's just failing at that line. I looked it up,
Code:
// start the request!
xhr.send(requestOptions.data);
When I debugged through that line it looked like requestOptions.data was null. Why would this be happening?