码迷,mamicode.com
首页 >  
搜索关键字:post-get    ( 808个结果
python抓取网站提示错误ssl.SSLCertVerificationError处理
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
Spring Boot 2 Rest Api Example
以下,将以一个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
vue使用axios
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
浏览器上传文件+django后台处理
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
django学习——request.POST.get(‘key’) 、 request.GET.get('key', '')
request.POST是用来接受从前端表单中传过来的数据,比如用户登录过程中传递过来的username、passwrod等字段。返回类型是字典; 在后台进行数据获取时,有两种方法(以username为例):request.POST[‘username’]与request.POST.get(‘use ...
分类:其他好文   时间:2019-06-29 19:06:33    阅读次数:69
HTTP协议
HTTP(HyperText Transfer Protocol,超文本传输协议)基于TCP/IP通信协议来传递数据(HTML文件, 图片, 查询结果等),用于从万维网(WWW:World Wide Web)服务器传输超文本到本地浏览器。所有的WWW文件都必须遵守这个标准。HTTP使用统一资源标识符 ...
分类:Web程序   时间:2019-06-25 13:26:29    阅读次数:132
csrf
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
Django之前端基础cookie使用
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
808条   上一页 1 ... 8 9 10 11 12 ... 81 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!