Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ES6 required Content-Type header #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mnm364
Copy link

@mnm364 mnm364 commented Mar 11, 2019

Modify cURL requests to include

Content-Type: application/json

Background: Starting from Elasticsearch 6.0, all REST requests that include a body
must also provide the correct content-type for that body.

https://www.elastic.co/blog/strict-content-type-checking-for-elasticsearch-rest-requests

Modify cURL requests to include

    Content-Type: application/json

Background: Starting from Elasticsearch 6.0, all REST requests that include a body
must also provide the correct content-type for that body.

https://www.elastic.co/blog/strict-content-type-checking-for-elasticsearch-rest-requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant