Did you install the app on your phone (or launched via Tiggzi Mobile Tester) or opened it in the browser?
When running as hybrid app, cross-domain class don't play a role and thus it works: http://help.gotiggr.com/documentation...
I'm trying to use existing code where possible and the request parameters are complicated and generated with js like this
var inData = "";
var ct=0;
Code: Select all
function appGET(data, str) {
if (data && data != 'undefined') {
data = encodeURIComponent(html_entity_decode(data));
if (ct == 0) {
inData += str + '=' + data;
} else {
inData += '&' + str + '=' + data;
}
ct++;
}
}
appGET(localStorage['user'], 'user');
if ($('#saveinp').val()==localStorage['listname']) {
appGET(localStorage['listid'], 'id');
}
appGET($('#saveinp').val(), 'list');
var ingnum=localStorage['ingnum'];
appGET(ingnum, 'ingnum');
for (i=0;i + i);
}
}Found this - it should do the trick.