JSFiddle - React, Tailwind, and code Playground
by Faisal Pathan
JavaScript
var data = JSON.stringify(false);
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener("readystatechange", function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open("GET", "https://api-eval.signnow.com/document/ff61bf38a0a60e142f6eea0dc6a5869149ba53ac/download?type=collapsed");
xhr.setRequestHeader("authorization", "Bearer 932cffdd6481d8ef7d1ffa2d45874ce4d796e3903803fbf029a6fe92e2a184e4");
console.log(xhr);
xhr.send(data);