我在 linux 终端中键入以下命令:
curl -XGET http://something_here.net:5005
我得到: var hashRoute = '/app/kibana'; var defaultRoute = '/app/kibana';
var hash = window.location.hash;
if (hash.length) {
window.location = hashRoute + hash;
} else {
window.location = defaultRoute;
Run Code Online (Sandbox Code Playgroud)
然后我尝试: curl -XGET http://something_here.net:5005/_all/_mappings
我得到:{"statusCode":404,"error":"Not Found","message":"Not Found"}
我尝试在 Elastic Search 中编写相同的命令(ES 自动删除关键字并替换为 )。我确实收到了结果!
{
"statistic-[...]": {
"mappings": {
"statistic": {
"properties": {
Run Code Online (Sandbox Code Playgroud)
[...]
为什么我在 Linux 中通过 curl 没有得到相同的结果?