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

Function taskPostUrl

activity/jd_firecrackers.js:215–230  ·  view source on GitHub ↗
(function_id, body)

Source from the content-addressed store, hash-verified

213}
214
215function taskPostUrl(function_id, body) {
216 return {
217 url: `https://lzdz-isv.isvjcloud.com/${function_id}`,
218 body: body,
219 headers: {
220 'Host': 'lzdz-isv.isvjcloud.com',
221 'Accept': 'application/json',
222 'Accept-Language': 'zh-cn',
223 'Content-Type': 'application/x-www-form-urlencoded',
224 'Origin': 'https://lzdz-isv.isvjcloud.com',
225 'User-Agent': 'JD4iPhone/167490 (iPhone; iOS 14.2; Scale/3.00)',
226 'Referer': `https://lzdz-isv.isvjcloud.com/dingzhi/book/develop/activity?activityId=${ACT_ID}`,
227 'Cookie': `${cookie} isvToken=${$.isvToken};`
228 }
229 }
230}
231
232function TotalBean() {
233 return new Promise(async resolve => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected