Search K
Appearance
Appearance
import requests
headers = {
'Connection': 'keep-alive',
'sec-ch-ua': '" Not A;Brand";v="99", "Chromium";v="90"',
'Accept': 'application/json, text/plain, */*',
'userIdentity': 'robot',
'sec-ch-ua-mobile': '?0',
'User-Agent': 'Mozilla/5.0 (X11; Linux aarch64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.233 Safari/537.36 Qaxbrowser',
'Content-Type': 'application/json;charset=UTF-8',
'Origin': 'https://robot.gxsgxc.cn:1083',
'Sec-Fetch-Site': 'same-origin',
'Sec-Fetch-Mode': 'cors',
'Sec-Fetch-Dest': 'empty',
'Referer': 'https://robot.gxsgxc.cn:1083/robotpc/robot/web?cube=1&sn=PT620K210412GX04242',
'Accept-Language': 'zh-CN,zh;q=0.9',
}
json_data = {
'platform': 'web',
'sessionId': '934c6090089c11ed95514fa30d3834ec',
'terminal': 'web',
'userId': 'fef55b48009947ffb9a9c7b17d1b032f',
'userQuestion': 'Testing PT620K210412GX04242',
'ext': {
'checkCollection': 'false',
},
}
response = requests.post('https://robot.gxsgxc.cn:1083/api/robot/robotqa', headers=headers, json=json_data)