Dim*_*ims 27 windows curl windows-10
我正在尝试运行curl命令并收到此错误:
'http" not supported or disabled in libcurl
Run Code Online (Sandbox Code Playgroud)
我查看了我的位置curl.exe,找到C:\Program Files\GDAL并删除了它。
错误仍然存在。这是curl.exe在C:\Anaconda3\Library\bin,所以我也删除了它。
错误仍然存在。有一个更curl.exe在$PATH。
所以错误与可执行文件无关。我该如何解决?
ber*_*ieb 42
curl双引号 ( "),而不是单引号 ( ')众所周知,Windows 中的 Curl 不喜欢单引号(例如)此线程:
Run Code Online (Sandbox Code Playgroud)D:\nr\platform_installer_win32>curl -X GET 'http://api.newrelic.com/v2/applications.json' \ -H "X-Api-Key:${APIKEY}" -i curl: (1) Protocol "'http" not supported or disabled in libcurl(……)
我相信您看到的第一个警告是由于将 url 用单引号而不是 double 括起来。
(来自 NewRelic 论坛,重点是我的)
这也出现在 StackOverflow 上的QA 中。
| 归档时间: |
|
| 查看次数: |
33040 次 |
| 最近记录: |