在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
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)