Add content-type header to curl in getting-started

Relates to #23001
This commit is contained in:
Nik Everett 2017-02-15 18:13:53 -05:00
parent 71739623d3
commit a6cf170384
1 changed files with 1 additions and 1 deletions

View File

@ -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