MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / headers

Method headers

wxapp/ztkd.js:120–132  ·  view source on GitHub ↗
(extra = {})

Source from the content-addressed store, hash-verified

118 }
119
120 headers(extra = {}) {
121 return {
122 "content-type": "application/json",
123 "x-token": this.token || "",
124 "x-version": "V8.153.1",
125 "x-clientCode": "wechatMiniZtoHelper",
126 "x-oid": this.openId || "",
127 "x-ys-dt": "",
128 "x-sv-v": "0.22.0",
129 Referer: `https://servicewechat.com/${APP.appid}/${APP.version}/page-frame.html`,
130 ...extra,
131 };
132 }
133
134 async api(host, apiPath, data = {}, allowFail = false) {
135 const res = await request({

Callers 1

apiMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected