Open dottodot opened 9 years ago
I found the problem to be the in the apiCall function on ios8 emulator. The problem is when passing anything into xhr.send() function when not needed creates this error.
The following solution worked:
if (_options.type != 'GET' && ! _.empty(_options.data)) {
xhr.send(_options.data);
} else {
xhr.send();
}
I someone can verify this I will create a pull request.
that looks correct.. please PR that.
Whenever I do a fetch with data I get an error of
here's how I'm fetching
I've also tried JSON.stringify on the data but that causes the same error.