MCPcopy Create free account
hub / github.com/Semporia/Scripts / taskPostUrl

Function taskPostUrl

jd_wxFans.js:395–409  ·  view source on GitHub ↗
(url, body)

Source from the content-addressed store, hash-verified

393
394
395function taskPostUrl(url, body) {
396 return {
397 url: `https://lzkjdz-isv.isvjcloud.com${url}`,
398 body: body,
399 headers: {
400 'Host': 'lzkjdz-isv.isvjcloud.com',
401 'Accept': 'application/json',
402 'X-Requested-With': 'XMLHttpRequest',
403 'Referer': 'https://lzkjdz-isv.isvjcloud.com/wxFansInterActionActivity/activity/590580?activityId=aae88e19901340a28b604f5cf5b61dd6&shareuserid4minipg=jd_4806fb66e0f3e&shopid=undefined',
404 'user-agent': 'jdapp;android;10.0.4;11;2393039353533623-7383235613364343;network/wifi;model/Redmi K30;addressid/138549750;aid/290955c2782e1c44;oaid/b30cf82cacfa8972;osVer/30;appBuild/88641;partner/xiaomi001;eufv/1;jdSupportDarkMode/0;Mozilla/5.0 (Linux; Android 11; Redmi K30 Build/RKQ1.200826.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/77.0.3865.120 MQQBrowser/6.2 TBS/045537 Mobile Safari/537.36',
405 'content-type': 'application/x-www-form-urlencoded',
406 'Cookie': `${cookie} IsvToken=${$.IsvToken};AUTH_C_USER=${$.pin};`,
407 }
408 }
409}
410
411function jsonParse(str) {
412 if (typeof str == "string") {

Callers 5

getshopidFunction · 0.70
getMyPinFunction · 0.70
adlogFunction · 0.70
getActinfoFunction · 0.70
dotaskFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected