Web crawler - python requests crawler, how to post payload
伊谢尔伦
伊谢尔伦 2017-05-18 11:00:59
0
2
903

When I use requests to make a post request, how do I use this payload?

 data={'jobId':positionId,'nested':false}
 payload={"question_id":3482074,"answers":[{"ats_id":"optional_cover_letter_SKIP_ME","answer_id":5605405}]}
html=requests.post(headers=headers,data=data,url=qiuzhi_url)

How to add this payload?

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(2)
PHPzhong
requests.post(headers=headers,params=data, data=json.dumps(payload),url=qiuzhi_url)
世界只因有你
request.post(url, params=data, json=payload)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template