1、安装request、RequestsLibrary
2、简单的get请求

3、requestsLibrary 介绍
安装目录:..\Python27\Lib\site-packages\RequestsLibrary
源码:RequestsKeywords.py
Create Session: 创建一个HTTP session去连接服务器

delete_all_sessions: 删除session

get_request:通过get方式发送一个请求

to_json:将String类型转换为json对象

网友评论
{
"error": "empty file"
}