I'm using ember-fetch and from it's source code I cannot figure out where it made the call XHR call.
In another word, where does it call window.XMLHttpRequest?
Coming from a jQuery background, I'm also trying to figure out where can we specify option such as processData = false as seen in here, but this time I want it in ember-fetch-way.
In another word, where does it call
window.XMLHttpRequest?
Short answer is: it doesn’t. Its repo says “HTML5 fetch polyfill from github wrapped and bundled for ember-cli users”, so it does what is says on the tin, it uses the Fetch API instead.
(…) I'm also trying to figure out where can we specify option such as
processData = false
Right, if I understand this correctly, fetch by default does not process the data it gets, that’s why you see so many examples with something like response.json() (like on the repo you linked).