ajax (url, type, options) Promiseprivate
Defined in addon/adapters/rest.js:975
Takes a URL, an HTTP method and a hash of data, and makes an HTTP request. When the server responds with a payload, Ember Data will call into extractSingle or extractArray (depending on whether the original query was for one record or many records). By default, ajax method has the following behavior: It sets the response dataType to "json"
If the HTTP method is not "GET", it sets the Content-Type to be applicati