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

Support withCredentials in generated vanilla JS. #3

Open
andorp opened this issue Dec 15, 2016 · 1 comment
Open

Support withCredentials in generated vanilla JS. #3

andorp opened this issue Dec 15, 2016 · 1 comment

Comments

@andorp
Copy link

andorp commented Dec 15, 2016

Including the withCredentials option should be useful for the Vanilla JS backend too, as it is included in the Axios backend.

  ...
  xhr.setRequestHeader("Accept","application/json");
  xhr.withCredentials = true;
  ...
@phadej
Copy link
Contributor

phadej commented Feb 3, 2017

Will accept the PR.

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