摘要: import requests #1、发get请求 url = 'http://apixxxxx.api/user/stu_info' data = {'stu_name':'小黑'} #请求数据 req = requests.get(url,params=data) #发get请求 print(req.json()) #字典 print(req.text) #string,jso... 阅读全文
posted @ 2018-09-19 14:29 静心_心静 阅读(189) 评论(0) 推荐(0)