声明 本文章中所有内容仅供学习交流使用,不用于其他任何目的,抓包内容、敏感网址、数据接口等均已做脱敏处理,严禁用于商业用途和非法用途,否则由此产生的一切后果均与作者无关!
侵权通过头像私信或名字简介叫我删除博客谢谢。
部分python代码
result = cp.call('wsgsig',data)
print(result)
headers = {
"Accept-Language": "zh-CN,zh;q=0.9",
"Cache-Control": "no-cache",
"Connection": "keep-alive",
"Sec-Fetch-Dest": "empty",
"Sec-Fetch-Mode": "cors",
"Sec-Fetch-Site": "same-origin",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0",
"accept": "application/json, text/plain, */*",
"content-type": "application/json",
"devicetype": "pc",
"sec-ch-ua": "\\"Chromium\\";v=\\"142\\", \\"Microsoft Edge\\";v=\\"142\\", \\"Not_A Brand\\";v=\\"99\\"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\\"Windows\\"",
"secdd-authentication": secdd_authentication,
"secdd-challenge": "4|1.5.10||||||",
"wsgsig": result
}
url = "/ota/rental/scm/vehicle/occupyStock"
data = json.dumps(data, separators=(',', ':'))
response = requests.post(url, headers=headers, cookies=cookies, data=data)
print(response.text)
print(response)
result = cp.call('wsgsig',data) print(result) headers = { "Accept-Language": "zh-CN,zh;q=0.9", "Cache-Control": "no-cache", "Connection": "keep-alive", "Sec-Fetch-Dest": "empty", "Sec-Fetch-Mode": "cors", "Sec-Fetch-Site": "same-origin", "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36 Edg/142.0.0.0", "accept": "application/json, text/plain, */*", "content-type": "application/json", "devicetype": "pc", "sec-ch-ua": "\\"Chromium\\";v=\\"142\\", \\"Microsoft Edge\\";v=\\"142\\", \\"Not_A Brand\\";v=\\"99\\"", "sec-ch-ua-mobile": "?0", "sec-ch-ua-platform": "\\"Windows\\"", "secdd-authentication": secdd_authentication, "secdd-challenge": "4|1.5.10||||||", "wsgsig": result } url = "/ota/rental/scm/vehicle/occupyStock" data = json.dumps(data, separators=(',', ':')) response = requests.post(url, headers=headers, cookies=cookies, data=data)
print(response.text) print(response)
结果





