Create elasticsearch index

I think elasticsearch 6.4 is very different from 6.1 since the commands working in 6.1 doesn't work in 6.4.
how can I create a simple index to test in 6.4? the following command is failing

curl -X PUT 'http://node1:9200/testidx' -H 'Content-Type: application/json' -d '{"acknowledged":"true"}'

Failing how?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.