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

Function create_headers

wxapp/quanmianshidai.py:44–62  ·  view source on GitHub ↗
(code, token)

Source from the content-addressed store, hash-verified

42 return accounts
43
44def create_headers(code, token):
45 headers = {
46 'host': 'sg01.purcotton.com',
47 'accept': 'application/json, text/plain, */*',
48 'app-id': 'wxdfcaa44b1aa891a7',
49 'user-agent': user_agent,
50 'content-type': 'application/json;charset=UTF-8',
51 'origin': 'https://sg01.purcotton.com',
52 'x-requested-with': 'com.tencent.mm',
53 'sec-fetch-site': 'same-origin',
54 'sec-fetch-mode': 'cors',
55 'sec-fetch-dest': 'empty',
56 'accept-encoding': 'gzip, deflate',
57 'accept-language': 'zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7',
58 'cookie': 'sajssdk_2015_cross_new_user=1',
59 'code': code,
60 'token': token,
61 }
62 return headers
63
64
65def jscz(code, token): # 浇水

Callers 15

jsczFunction · 0.85
tjlq_mpjlFunction · 0.85
task_listFunction · 0.85
complete_taskFunction · 0.85
lq_fdFunction · 0.85
hqidFunction · 0.85
loginFunction · 0.85
hdwt_boxFunction · 0.85
today_waterFunction · 0.85
cscscsFunction · 0.85
sj_ygFunction · 0.85
syygFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected