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

Method getHeaders

wxapp/hrj.js:158–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156 }
157
158 getHeaders() {
159 return {
160 "Content-Type": "application/json",
161 "X-WX-Token": this.session.token || "",
162 "User-Agent": USER_AGENT,
163 "Referer": `https://servicewechat.com/${MINI_APP_ID}/${PAGE_VERSION}/page-frame.html`,
164 "weimob-bosId": ONECRM_BASIC_INFO.bosId,
165 "weimob-pid": "N/A",
166 };
167 }
168
169 buildWosBody(data = {}) {
170 return {

Callers 1

requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected