码迷,mamicode.com
首页 >  
搜索关键字:post-get    ( 808个结果)
PHP的CURL的POST/GET访问
本文出至:新太潮流网络博客 本文出至:新太潮流网络博客 ...
分类:Web程序   时间:2017-09-12 12:18:53    阅读次数:213
cookie和session
注意:session默认是存储在sqlit里面def login(request): if request.method=="POST": username=request.POST.get('user') password=request.POST.get('pwd') print(usernam ...
分类:其他好文   时间:2017-09-10 10:06:35    阅读次数:138
jQuery的ajax和原生的ajax方法
jQuery的ajax方法: $.ajax({ url:'/comm/test1.php', type:'POST', //GET async:true, //或false,是否异步 data:{ name:'yang',age:25 }, timeout:5000, //超时时间 dataType ...
分类:Web程序   时间:2017-09-09 19:44:13    阅读次数:271
用Python写简单的爬虫
准备: 1.扒网页,根据URL来获取网页信息 urlopen方法 url即为URL,data是访问URL时要传送的数据,timeout是设置超时时间 返回response对象 response对象的read方法,可以返回获取到的网页内容 POST GET 2.正则表达式re模块 Python 自带了 ...
分类:编程语言   时间:2017-09-07 13:22:18    阅读次数:296
Python学习笔记第二十六周(Django补充)
一、基于jQuery的ajax实现(最底层方法:$.jax()) $.ajax( url: type:''POST“ ) $.get(url,[data],[callback],[type]) #callback是发送成功后就执行的函数,type是告诉服务器需要什么数据,type:text|html ...
分类:编程语言   时间:2017-09-07 00:02:59    阅读次数:228
post get
post与get差异http://www.w3school.com.cn/tags/html_ref_httpmethods.asp post Parameters: {"utf8"=>"?", "authenticity_token"=>"yGT+ikGn4u7FZGNKvklGC+pBPDYho ...
分类:其他好文   时间:2017-09-03 18:40:52    阅读次数:127
jsp的C标签一般使用方法以及js接收servlet中的对象及对象数字
jsp的C标签一般使用方法以及js接收servlet中的对象及对象数组 由于现流行的javaWeb框架提倡前后端分离,比如在SpringMvc中已经很少写servlet的一些东西;目前 前端jsp中大多是一些纯html和js,很少用到jstl的一堆东西,后端也仅仅处理一些前端的post、get请求或 ...
分类:Web程序   时间:2017-09-02 01:05:36    阅读次数:368
ajax和json
1、$ ajax({ url:"", data:{username:"admin"},//发送时携带的参数 type:"post/get",//请求类型 dataType:"html/text/json",//返回类型 success:function(data){ }, error:functio ...
分类:Web程序   时间:2017-09-01 23:06:25    阅读次数:263
python第一百一十八天---ajax--图片验证码 + Session
1 XmlHttpRequest对象的主要方法: 2 a. void open(String method,String url,Boolen async) 3 用于创建请求 4 5 参数: 6 method: 请求方式(字符串类型),如:POST、GET、DELETE... 7 url: 要请求的 ...
分类:编程语言   时间:2017-09-01 20:25:55    阅读次数:105
C# 发送Http协议 模拟 Post Get请求
1.参数 paramsValue的格式 要和 Reques.ContentType一致, 如果 contentype "application/x-www-form-urlencoded" 表单类型,那么 参数为 a=1&b=2 形式 如果 。。。 "application/json" json 类 ...
分类:Windows程序   时间:2017-09-01 19:40:15    阅读次数:269
共808条   上一页 1 ... 30 31 32 33 34 ... 81 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!