MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / fetch

Method fetch

codebase/dhtmlxscheduler.es.js:577–580  ·  view source on GitHub ↗
(i, t)

Source from the content-addressed store, hash-verified

575 return { Accept: "application/json", "Content-Type": "application/json", "Remote-Token": this._token };
576 }
577 fetch(i, t) {
578 const n = { credentials: "include", headers: this.headers() };
579 return t && (n.method = "POST", n.body = t), fetch(i, n).then((s) => s.json());
580 }
581 load(i) {
582 return i && (this._url = i), this.fetch(this._url).then((t) => this.parse(t));
583 }

Callers 2

loadMethod · 0.95
_sendMethod · 0.95

Calls 1

headersMethod · 0.95

Tested by

no test coverage detected