python
差不多的人生
这个作者很懒,什么都没留下…
展开
-
python requests.get带header
原创 2018-05-23 15:01:34 · 26543 阅读 · 2 评论 -
python requests.post带head和body
# coding = utf-8import requestshost = "http://47.XX.XX.XX:30000"endpoint=r"/api/v1/carxxx/addCarxxx"url = ''.join(host,endpoint)headers = \ { "X-Member-Id": "23832100000", "...原创 2018-05-23 15:14:28 · 57120 阅读 · 0 评论