码迷,mamicode.com
首页 >  
搜索关键字:curl post json字符串    ( 38738个结果
方便mac os 10.9系统中phpstorm配置php运行环境
自己安装php,不用mac安装,这样就有php开发环境了。 安装很简单,直接运行一个命令, 需要几分钟,请慢慢等待。curl -s http://php-osx.liip.ch/install.sh | bash -s 5.5 (注5.5是php版本可以是5.6等等)新安装的php目录是/us...
分类:Web程序   时间:2014-07-22 22:56:34    阅读次数:266
js构建form进行post提交
//构建post方式提交 var form = document.createElement("form"); form.action = "conditionSearch.action"; form.method = "POST"; form.sty...
分类:Web程序   时间:2014-07-16 23:59:51    阅读次数:478
python中将字典转换成定义它的json字符串
Python的字典和JSON在表现形式上非常相似#这是Python中的一个字典 dic = { 'str': 'this is a string', 'list': [1, 2, 'a', 'b'], 'sub_dic': { 'sub_str': 'this is sub str', 'sub_l...
分类:编程语言   时间:2014-07-16 18:09:52    阅读次数:301
Spring MVC之@RequestMapping 详解
前段时间项目中用到了REST风格来开发程序,但是当用POST、PUT模式提交数据时,发现服务器端接受不到提交的数据(服务器端参数绑定没有加任何注解),查看了提交方式为application/json, 而且服务器端通过request.getReader() 打出的数据里确实存在浏览器提交的数据。为了...
分类:移动开发   时间:2014-07-16 17:46:28    阅读次数:300
Python PyPI中国镜像
from:http://blog.makto.me/post/2012-11-01/pypi-mirrorfrom:http://www.pypi-mirrors.org/ from:http://pypi.hustunique.com/from:http://pypi.douban.com/作为 ...
分类:编程语言   时间:2014-07-16 17:40:12    阅读次数:1003
rest api
host/customer/delete/1host/customer/get/keyword-祖国host/customer/get/1.xmlhost/customer/get/1.jsonhost/order/posthost/order/post/get/500.jsonrest:repre...
分类:Windows程序   时间:2014-07-16 16:49:36    阅读次数:273
httpUrlConnection的参数详解
post方式的的请求过程: // 设置是否向httpUrlConnection输出,因为这个是post请求,参数要放在 // http正文内,因此需要设为true, 默认情况下是false; httpUrlConnection.setDoOutput(true); // 设置是否从httpUrlConnection读入,默认情况下是true; httpUrlConnection.se...
分类:其他好文   时间:2014-07-16 16:14:42    阅读次数:3111
jQuery Ajax 实例 ($.ajax、$.post、$.get)
本文转自:http://jun1986.iteye.com/blog/1399242 感谢他的分享$.post、$.get是一些简单的方法,如果要处理复杂的逻辑,还是需要用到jQuery.ajax()一、$.ajax的一般格式$.ajax({ type: 'POST', url:url, data:...
分类:Web程序   时间:2014-07-16 15:04:48    阅读次数:249
js ajax 向后台传递数组
//定义数组 var _arrays = []; for (var i = 0; i < 10; i++) { _shangpins.push(i); }//post $.post(href, {list: _arrays} );//get post dat...
分类:Web程序   时间:2014-07-16 12:05:00    阅读次数:243
【iOS】文件上传小记
iOS中用系统提供的API能实现能实现文件的上传与下载,分别有两种方式。NSURLConnection与NSURLSession。 其中NSURLConnection是使用很久的的一种方式,NSURLSession是新出来的一种方式。 一、 POST方式上传 POST方式提交信息默认使用的是 : *Content-Type:  application/x-www-form-u...
分类:移动开发   时间:2014-07-16 08:21:07    阅读次数:414
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!