python抓取网站提示错误ssl.SSLCertVerificationError处理
分类:
编程语言 时间:
2019-08-08 00:31:52
阅读次数:
233
2019-08-05 面试问题总结 1.get与post的区别: HTTP 定义了与服务器交互的不同方法,两种最常用的 HTTP 方法是:GET 和 POST。 下面的表格比较了两种 HTTP 方法:GET 和 POST。 get和post的使用场景的分析: post:表单提交(因为数据量可能过大超 ...
分类:
其他好文 时间:
2019-08-06 00:52:58
阅读次数:
104
以下,将以一个post、get返回json数据格式的例子来讲解Rest Apis。 1. Maven Dependencies. 最重要的是 spring-boot-starter-parent 和 spring-boot-starter-web。 Starter web 依赖包含了spring-w ...
分类:
编程语言 时间:
2019-07-05 09:30:01
阅读次数:
90
1.安装axios npm: cdn: 2.配置axios 在项目中新建api/index.js文件,用以配置axios api/index.js 这里的配置了POST、GET、PUT、DELETE方法。并且自动将JSON格式数据转为URL拼接的方式 同时配置了跨域,不需要的话将withCreden ...
分类:
移动开发 时间:
2019-07-04 11:27:39
阅读次数:
129
一、接口分类 1.post、get、delete、put 2.差异: 参数提交方式不同:post、get、delete、put 请求数据大小:post>get 安全性:post以表单(webform)方式提交>get参数在地址栏 二、用例设计 接口测试的用例设计主要从功能、逻辑业务、异常、安全着手 ...
分类:
其他好文 时间:
2019-07-04 11:17:36
阅读次数:
112
1,浏览器端端js程序 2,django后端处理程序 接收来自浏览器上传的文件,并把文件存储在一指定的路径下。 product_id = request.POST.get('product_id') sign = request.POST.get('sign') file_size = reques ...
分类:
Web程序 时间:
2019-07-04 09:47:55
阅读次数:
316
request.POST是用来接受从前端表单中传过来的数据,比如用户登录过程中传递过来的username、passwrod等字段。返回类型是字典; 在后台进行数据获取时,有两种方法(以username为例):request.POST[‘username’]与request.POST.get(‘use ...
分类:
其他好文 时间:
2019-06-29 19:06:33
阅读次数:
69
HTTP(HyperText Transfer Protocol,超文本传输协议)基于TCP/IP通信协议来传递数据(HTML文件, 图片, 查询结果等),用于从万维网(WWW:World Wide Web)服务器传输超文本到本地浏览器。所有的WWW文件都必须遵守这个标准。HTTP使用统一资源标识符 ...
分类:
Web程序 时间:
2019-06-25 13:26:29
阅读次数:
132
1 #scrif 2 def index(request): 3 print(123) 4 username = request.POST.get('username') 5 money = request.POST.get('money') 6 others = request.POST.get( ...
分类:
其他好文 时间:
2019-06-24 00:42:00
阅读次数:
110
login视图函数: def login(request): if request.method == 'POST': username = request.POST.get('username') password = request.POST.get('password') ... ...
分类:
其他好文 时间:
2019-06-18 00:19:22
阅读次数:
571