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

Function getResponseToken

wxapp/aima.js:74–81  ·  view source on GitHub ↗
(headers = {})

Source from the content-addressed store, hash-verified

72}
73
74function getResponseToken(headers = {}) {
75 return (
76 headers["set-access-token"] ||
77 headers["Set-Access-Token"] ||
78 headers["SET-ACCESS-TOKEN"] ||
79 ""
80 );
81}
82
83function buildHeaders(token = "") {
84 const timestamp = Date.now().toString();

Callers 2

requestFunction · 0.85
loginByCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected