I used to have ElasticSearch 5.2, and just upgraded to 6.0.
I am trying to create an index template following guide here, but got error
Content-Type
"{ \"name\": { \"first\": {} }, \"address\": [ { \"address1\":\"lane\" } ] } "
In Windows, when you give JSON as a parameter, use double quotes only. Use escape character.