servant-js
servant-js copied to clipboard
Support withCredentials in generated vanilla JS.
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;
...
Will accept the PR.