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

Function taskPostClientActionUrl

jd_joy_park.js:378–391  ·  view source on GitHub ↗
(body,functionId)

Source from the content-addressed store, hash-verified

376}
377
378function taskPostClientActionUrl(body,functionId) {
379 return {
380 url: `https://api.m.jd.com/client.action?${functionId?`functionId=${functionId}`:``}`,
381 body: body,
382 headers: {
383 'User-Agent': $.user_agent,
384 'Content-Type':'application/x-www-form-urlencoded',
385 'Host':'api.m.jd.com',
386 'Origin':'https://joypark.jd.com',
387 'Referer':'https://joypark.jd.com/?activityId=LsQNxL7iWDlXUs6cFl-AAg&lng=113.387899&lat=22.512678&sid=4d76080a9da10fbb31f5cd43396ed6cw&un_area=19_1657_52093_0',
388 'Cookie': cookie,
389 }
390 }
391}
392
393function taskGetClientActionUrl(body,functionId) {
394 return {

Callers 3

getJoyBaseInfoFunction · 0.70
doJoyBuyFunction · 0.70
doJoyRecoveryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected