不为失败找理由,要为成功找方法。

Es6.0部署升级失败,有升级成功的吗?

Elasticsearch | 作者 huigy | 发布于2017年11月21日 | 阅读数:3939

官网下载es6.0替换对应的文件,在head插件里面创建索引,返回错误
{
 "error": "Content-Type header [application/x-www-form-urlencoded] is not supported",
 "status": 406
}
用java代码方式创建设置Content-Type header:application/json; charset=UTF-8返回400错误。。
那么我的部署哪里出问题了!!!
已邀请:

huigy

赞同来自:

some body helpe...

musishui

赞同来自:

试试填加 -H 'Content-Type: application/json'

要回复问题请先登录注册