windows环境下curl报错:Protocol "'http" not supported or disabled in libcurl
来源:互联网 发布:淘宝店客户具体地址 编辑:程序博客网 时间:2024/05/22 00:09
原因:window命令行不支持单括号引用
解决方案:将单括号删除
例如:curl ‘http://localhost:9200/?pretty’
在window命令行应改为:curl http://localhost:9200/?pretty
原始解决方案来源:https://stackoverflow.com/questions/6684235/perl-curl-1-protocol-http-not-supported-or-disabled-in-libcurl
curl在windows上使用的注意事项:
curl -XPOST http://localhost:9200/video/md/1 -d “{\
“tvId\”:\”1001\”,\”name\”:\”test\”,\”order\”:1}” -d 内的参数需要用双引号包起来,数据中的双引号需要转义
在学习操作elasticSearch时在windows用curl,参考:http://www.cnblogs.com/Fred1987/p/6020145.html
阅读全文
0 0
- windows环境下curl报错:Protocol "'http" not supported or disabled in libcurl
- curl函数报错,又一次血的教训:Protocol http not supported or disabled in libcurl
- curl 调用接口报错 Protocol http not supported or disabled in libcurl
- curl: (1) Protocol 'http not supported or disabled in libcurl
- CURL:Protocol http not supported or disabled in libcurl
- curl:<1> Protocol "'http" not supported or disabled in libcurl
- WINDOWS curl: (1) Protocol "'http" not supported or disabled in libcurl
- curl错误: curl: (1) Protocol 'http not supported or disabled in libcurl
- curl: (1) Protocol "'http" not supported or disabled in libcurl异常
- 使用curl时https not supported or disabled in libcurl报错问题
- 【MAC】 curl : (1) Protocol https not supported or disabled in libcurl
- Git hub protocol https not supported or disabled in libcurl
- Protocol https not supported or disabled in libcurl
- Git, Protocol https not supported or disabled in libcurl
- 又一次血的教训:Protocol http not supported or disabled in libcurl
- 又一次血的教训:Protocol http not supported or disabled in libcurl
- 最近遇到的curl问题和libcurl问题(Protocol https not supported or disabled in libcurl)
- SourceTree Clone时 遇到"Protocol https not supported or disabled in libcurl"
- Scala Immutable Collection(集合)
- 单例模式(线程安全)
- forEach无法remove与Iterator的关系
- FormData上传文件显示进度百分比
- oracle的学习历程 2017/8/30
- windows环境下curl报错:Protocol "'http" not supported or disabled in libcurl
- 超链接
- 卷积计算
- c语言数组赋值
- java虚拟机垃圾回收
- Java 8 新特性 Lambda
- IOS打包ipa
- python安装完毕后,用pip安装失败
- 一个简单的html