MCPcopy Create free account
hub / github.com/ClydeTime/Surge / getBody

Function getBody

Script/Task/amap.js:132–135  ·  view source on GitHub ↗
(body,key)

Source from the content-addressed store, hash-verified

130 return Json2Form(query)
131}
132function getBody(body,key) {
133 body = 'in=' + encodeURIComponent(Encrypt_Body(Json2Form(body), key));
134 return body
135}
136function getHeaders(sessionid) {
137 return {
138 'Content-Type': 'application/x-www-form-urlencoded',

Callers 2

checkInFunction · 0.85
signInFunction · 0.85

Calls 2

Encrypt_BodyFunction · 0.85
Json2FormFunction · 0.85

Tested by

no test coverage detected