[Python] 纯文本查看 复制代码 headers = {
'authority': 'webapi.qmai.cn',
'accept': 'v=1.0',
'accept-language': 'zh-CN,zh;q=0.9',
'content-type': 'application/json',
'qm-from': 'wechat',
'qm-from-type': 'catering',
'qm-trace-store-id': '201424',
'qm-user-token': 'cs_ahn68moOwNx_ecsb_tRHkDjs0fM_wo-Ns6KxufD05EuwL649U7d4nfFfq5eao2dofL1vZFD1jKVT7Pvz4gw',
'referer': 'https://servicewechat.com/wxd92a2d29f8022f40/368/page-frame.html',
'sec-fetch-dest': 'empty',
'sec-fetch-mode': 'cors',
'sec-fetch-site': 'cross-site',
'store-id': '201424',
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 MicroMessenger/7.0.20.1781(0x6700143B) NetType/WIFI MiniProgramEnv/Windows WindowsWechat/WMPF WindowsWechat(0x69090909) XWEB/8555',
'xweb_xhr': '1',
}
json_data = {
'activityId': activityId,
'qzGtd': '',
'gdtVid': '',
'appid': 'wxd92a2d29f8022f40',
'timestamp': t,
'signature': signature,
'data': data,
'version': version,
}
print(json_data)
response = requests.post('https://webapi.qmai.cn/web/cmk-center/receive/takePartInReceive', headers=headers, json=json_data) |