在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'是正常的

posted on 2019-08-16 17:51  chuwu  阅读(3034)  评论(0编辑  收藏  举报