ember-ajax icon indicating copy to clipboard operation
ember-ajax copied to clipboard

Service for making AJAX requests in Ember applications

Results 47 ember-ajax issues
Sort by recently updated
recently updated
newest added

In investigating how our Ember Data mixin works with a few of our apps at Precision Nutrition, I noticed that adapter level error handling is circumvented. This breaks applications by...

Ember Data Mixin

各位好,我对2.5.6版本有点疑问,麻烦各位帮忙解答一下,谢谢! 问题:debug模式调试中,为什么2.5.6版本的登录以及toke的Request URLn走的是正确的,而所有界面接口走的是本地请求?

The docs use unhelpful terminology like like "easily", and has contribution information that could be better placed in a `CONTRIBUTING.md` file to better integrate with GitHub UI. I will hopefully...

This indicates that all consumers also need this flag. More info here: https://github.com/ember-cli/ember-ajax/pull/441#discussion_r268309448 _Originally posted by @mike-north in https://github.com/ember-cli/ember-ajax/pull/441_

TypeScript

We ran into some problems where type information was in misalignment with documentation (i.e., #440) This PR sets up infrastructure for testing type information using [dtslint](https://github.com/Microsoft/dtslint). Some fixes were needed...

``` HTTP/1.1 422 Unprocessable Entity X-Powered-By: Express Cache-Control: no-cache, no-store, max-age=0, must-revalidate Server: nginx/1.15.8 Date: Tue, 29 Jan 2019 12:59:45 GMT Content-Type: application/problem+json Transfer-Encoding: chunked Connection: close X-Content-Type-Options: nosniff X-XSS-Protection:...

Allow [host](https://github.com/ember-cli/ember-ajax/blob/master/addon/mixins/ajax-request.ts#L477) and [namespace](https://github.com/ember-cli/ember-ajax/blob/master/addon/mixins/ajax-request.ts#L483) be empty strings? ```js // app/services/ajax.js export default AjaxService.extend({ host: 'https://my-awesome-app.com', namespace: '/api/v1', }); ``` ```js // Some controller/component action this.ajax.request('/some-url', { namespace: '/' }); //...

Is there a nice way to handle non json responses, like binary data or an empty response body? As for binary data, tampering with the underlying xhr works, but hasn't...

Bug

- [ ] Migrate back to `qunit` - As a "default" addon, I think it would be great if this repo could serve as an example of a pretty "typical"...

Good for New Contributors