Closed yomybaby closed 1 year ago
If
col.fetch({ data : { filter : {what : "value" } } });
url should be ?filter={"what":"value"} But adapter make ?filter={<br/> what = value; }
?filter={"what":"value"}
?filter={<br/> what = value; }
Look below result
Ti.Network.decodeURIComponent(Ti.Network.encodeURIComponent({what:"value"})); // {<br/> what = value; } Ti.Network.decodeURIComponent(Ti.Network.encodeURIComponent(JSON.stringify({what:"value"}))); // {"what":"value"}
So if data value is object, it should be stringified before encoding.
If
url should be
?filter={"what":"value"}
But adapter make?filter={<br/> what = value; }
Look below result
So if data value is object, it should be stringified before encoding.