python requests get/post
摘要:
基本Get请求:#-*- coding:utf-8 -*-import requestsurl = 'http://www.baidu.com'r = requests.get(url)print r.text修改header的get请求:import requestsheaders = {"Authorization": "Bearer 4SMf3bbEWuzD8tGxM7Kg9LQr4RZY7... 阅读全文
posted @ 2016-07-10 10:11 jsplyy 阅读(3044) 评论(0) 推荐(0) 编辑