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

Ajax request Issue #445

Closed
jayeshanandani opened this issue Jun 27, 2018 · 0 comments
Closed

Ajax request Issue #445

jayeshanandani opened this issue Jun 27, 2018 · 0 comments

Comments

@jayeshanandani
Copy link

Expected behavior

When an ajax request is sent with a header application/json;charset=UTF-8 the headers are not accepted by DADI API and the request never completes.

Actual behavior

It will be great to support Content-Type header with application/json;charset=UTF-8 as it is the default header for json request.

Steps to reproduce the problem

  1. Create a post ajax request via axios library. Try to send json data.
  2. Observe the inspect element and see the request wont complete.

Package details

Package version, operating system, etc
3.2.1, MacOS

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

No branches or pull requests

1 participant