是否可以使用python请求从这个site访问原始数据
在网络选项卡中,我找到了getAllDeclaration
项,该项具有POST
方法并指定请求有效负载参数
到目前为止,我已经尝试过:
url = "https://cab.vkksu.gov.ua/rest/qa2_resultLatest/"
payload = {"PIB": "Іванов Іван Іванович", "docTypeID": "3000000768001", "yearString": "2018", "pageNum": 0}
# `docTypeID` I got from https://cab.vkksu.gov.ua/rest/qa2_interview/getInterviewType"
requests.post(url, payload)
# results in 400 response code
试试这个:
试试下面的代码,你肯定把url部分搞糟了
相关问题 更多 >
编程相关推荐