curl请求post,header(host),urlcurl --data "haha=haha&h=h" -H "Host: lww.storage.hd.open.360.cn" "http://10.16.15.115/data/save?iot_id=iot_id"其中,--data是po...
分类:
Web程序 时间:
2015-01-21 01:15:05
阅读次数:
309
安装homebrew在homebrew官网上http://brew.sh在终端上ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
分类:
其他好文 时间:
2015-01-20 19:50:41
阅读次数:
328
看一个小伙伴分享的图灵机器人Python玩法,觉得挺有意思的linux上,可以尝试更简单的方法。比如说使用curl命令 curl"http://www.tuling123.com/openapi/api?key=申请到的key&info=聊天内容"比如:curl "http://www.tuling...
分类:
编程语言 时间:
2015-01-20 13:44:42
阅读次数:
270
// 安装 composer curl -s http://getcomposer.org/installer | php// 把 composer 添加到全局命令mv composer.phar /usr/local/bin/composer// 安装 Composer asset pluginc...
分类:
其他好文 时间:
2015-01-20 11:45:56
阅读次数:
118
2.1 安装$ curl -L https://static.rust-lang.org/rustup.sh | sudo sh2.2 Hello, world!创建项目$ mkdir ~/projects$ cd ~/projects$ mkdir hello_world$ cd hello_wo...
分类:
其他好文 时间:
2015-01-19 23:28:58
阅读次数:
284
这两天在用libcurl发送http请求
代码写好了,联调时发现服务器老是返回“Unsupported Media Type”这个错误,不支持的媒体类型,百度谷歌了一圈遇见这个问题的不少,但是大多数没有把解决方案发出来。
其实很简单,如果能认真把curl的example例程看清楚就不会出现这样的问题。
下面把代码发出来,供后来者参考
帖子请看http://bbs.csdn.net/topi...
分类:
编程语言 时间:
2015-01-19 15:46:37
阅读次数:
194
写入数据:curl -X POST -d '[{"name":"foo","columns":["val"],"points":[[23]]}]' 'http://localhost:8086/db/mydb/series?u=root&p=root'查询数据:curl -G 'http://loc...
分类:
数据库 时间:
2015-01-19 12:30:59
阅读次数:
683
http://www.androidren.com/index.php?qa=264&qa_1=install-node-js
The best way to install Node.js is installing with nvm.
cURL:
$ curl https://raw.github.com/creationix/nvm/master/install...
分类:
Web程序 时间:
2015-01-19 10:56:51
阅读次数:
131
这里只讲linux下安装Yii2的方法,windows安装yii2的方法 请参见我的另一篇博文 http://blog.csdn.net/zqtsx/article/details/39344913第一步 安装Composer:语法:“curl -sS https://getcomposer.org...
分类:
系统相关 时间:
2015-01-18 17:06:41
阅读次数:
332
运行PHP不支持curl_init()的解决方法:1.修改php.ini,将;extension=php_curl.dll前面的分号去掉(同时检查扩展的引用路径是否正确)2.拷贝libeay32.dll、ssleay32.dll(E:\amp\php,PHP的安装目录)两个文件到System32(6...
分类:
Web程序 时间:
2015-01-18 17:06:02
阅读次数:
238