Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize approach for remote service calls - ajax vs. fetch #892

Open
jabrah opened this issue Apr 8, 2019 · 1 comment
Open

Normalize approach for remote service calls - ajax vs. fetch #892

jabrah opened this issue Apr 8, 2019 · 1 comment

Comments

@jabrah
Copy link
Contributor

jabrah commented Apr 8, 2019

The fetch API doesn't have the same legacy issues that AJAX has, such as the madness with URL encoding data. However, Internet Explorer has zero support for this API. We could work around this, if necessary, by using a polyfill (https://github.com/ember-cli/ember-fetch).

Would require update to relevant services and tests.

Current usage of AJAX

  • current-user.js
  • autocomplete.js
  • metadata-schema.js
  • dashboard.js

Current usage of Fetch

  • doi.js
  • nlmta.js
@markpatton
Copy link
Contributor

Should do the same for ember-fedora-adapter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants