curl: (1) Protocol 'http not supported or disabled in libcurl

在windows中使用curl的时候,命令为 curl 'http://localhost:9200/?pretty'

出现这个报错 curl: (1) Protocol 'http not supported or disabled in libcurl

改为curl "http://localhost:9200/?pretty"即可

在linux中使用curl 'http://localhost:9200/?pretty'是正常的

原文地址:https://www.cnblogs.com/chuwu/p/11365481.html