当前位置:网站首页>Anti climbing means cracking the second

Anti climbing means cracking the second

2022-07-07 23:38:00 m0_ thirty-seven million eight hundred and eighty-one thousand

I still need to study this thing carefully .
And the method of the request :get And post The difference between .
Bury a pit .

import requests

url = "https://open.---------------.com/api/afterSales/complaintRefund/inDeal/qryDealingComplaints"

headers = {
    
    "accept": "application/json",
    "accept-language": "zh-CN,zh;q=0.9",
    "content-type": "application/json;charset=UTF-8",
    "idempotencyid": "2520b1ff-d687-4bff-a018-3e1a7d4527ea",
    "sec-ch-ua": "\" Not;A Brand\";v=\"99\", \"Google Chrome\";v=\"97\", \"Chromium\";v=\"97\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-site",
    "terminaltype": "4",
    "token": "0x77cc9506246a00eed3467c834ac93f",
    "referer": "https://teacher.shiguangkey.com/"
}

data = "{\"pageIndex\":1,\"pageSize\":10,\"queryDealingStatus\":\"1\",\"hideFooter\":\"1\",\"hideHeader\":\"1\",\"hideMenu\":\"1\",\"system\":\"taoli\",\"token\":\"0x77cc9506246a00eed3467c834ac93f\",\"headmasterId\":\"\",\"creatorId\":\"\",\"dealDistributeId\":\"\",\"complaintReasonType\":\"\",\"complaintReasonSubdivide\":\"\",\"dealDistributeIdType\":\"1\",\"userInfoType\":\"\"}"

response = requests.post(url, headers=headers, data=data)
print(response.json())

原网站

版权声明
本文为[m0_ thirty-seven million eight hundred and eighty-one thousand ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130557188663.html