From a6cf1703840486990bf740ceaa045d8caf670838 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Wed, 15 Feb 2017 18:13:53 -0500 Subject: [PATCH] Add content-type header to curl in getting-started Relates to #23001 --- docs/reference/getting-started.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/getting-started.asciidoc b/docs/reference/getting-started.asciidoc index 070ebd95cba..afb084f3bad 100755 --- a/docs/reference/getting-started.asciidoc +++ b/docs/reference/getting-started.asciidoc @@ -588,7 +588,7 @@ You can download the sample dataset (accounts.json) from https://github.com/elas [source,sh] -------------------------------------------------- -curl -XPOST 'localhost:9200/bank/account/_bulk?pretty&refresh' --data-binary "@accounts.json" +curl -H "Content-Type: application/json" -XPOST 'localhost:9200/bank/account/_bulk?pretty&refresh' --data-binary "@accounts.json" curl 'localhost:9200/_cat/indices?v' -------------------------------------------------- // NOTCONSOLE