elasticsearch学习记录

xiaoxiao2021-02-28  28

参考这位大神的博客开始学习elasticsearch(https://blog.csdn.net/cnweike/article/details/33736429); 1、在敲命令 curl -XPUT 'localhost:9200/customer/external/1?pretty' -d ' {      "name": "John Doe" }' 发现报错:

{   "error" : "Content-Type header [application/x-www-form-urlencoded] is not supported",   "status" : 406 } 参考这位大神(https://blog.csdn.net/dtiove/article/details/78870607),问题解决。
转载请注明原文地址: https://www.6miu.com/read-2612592.html

最新回复(0)