我从 ElasticSearch 和 Sense for Chrome(在 Windows 7 下)开始,我无法启动简单的 POST 请求(来自https://www.elastic.co/guide/en/elasticsearch/reference/current/_exploring_your_data。 html ). 我得到一个基本的Request failed to get to the server (status code: 0):
:
localhost:9200/bank/account/_bulk?pretty' --data-binary "@accounts.json"
该account.json
文件在我的elasticsearch/bin
目录中。
问题很简单:我的(语法?)错误在哪里?