在终端输入curl 'http://localhost:9200/?pretty' 发送http请求报错:curl: (1) Protocol "'http" not supported or disabled in libcurl
解决办法:把单引号换为双引号即可,curl "http://localhost:9200/?pretty"
在终端输入curl 'http://localhost:9200/?pretty' 发送http请求报错:curl: (1) Protocol "'http" not supported or disabled in libcurl
解决办法:把单引号换为双引号即可,curl "http://localhost:9200/?pretty"