Closed vpoiesz closed 6 years ago
Elasticsearch 6.0+ REST API now enforces strict content-type checking, so the command now includes the Content-Type header as application/json. For more info, see https://stackoverflow.com/questions/47544966/elasticsearch-content-type-header-application-x-www-form-urlencoded-is-not-s
application/json
Thanks, @vpoiesz!
Elasticsearch 6.0+ REST API now enforces strict content-type checking, so the command now includes the Content-Type header as
application/json
. For more info, see https://stackoverflow.com/questions/47544966/elasticsearch-content-type-header-application-x-www-form-urlencoded-is-not-s