@hoppscotch/httpsnippet
Version:
HTTP Request snippet generator for *most* languages
12 lines • 342 B
JavaScript
;
var data = null;
var xhr = new XMLHttpRequest();
xhr.withCredentials = true;
xhr.addEventListener('readystatechange', function () {
if (this.readyState === this.DONE) {
console.log(this.responseText);
}
});
xhr.open('PROPFIND', 'http://mockbin.com/har');
xhr.send(data);
//# sourceMappingURL=custom-method.js.map