MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / headers

Method headers

wxapp/jyxe.js:117–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 }
116
117 headers() {
118 return {
119 "content-type": "application/x-www-form-urlencoded",
120 "platform": "MP-WEIXIN",
121 "User-Agent": USER_AGENT,
122 "Referer": `https://servicewechat.com/${MINI_APP_ID}/${PAGE_VERSION}/page-frame.html`,
123 };
124 }
125
126 async request(apiPath, data = {}, options = {}) {
127 const token = options.noauth ? GUEST_TOKEN : (this.session.token || GUEST_TOKEN);

Callers 1

requestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected