써먹는 웹개발

[Elasticsearch] Content-Type header [application/x-www-form-urlencoded] is not supported 해결방법 본문

Study/Elasticsearch

[Elasticsearch] Content-Type header [application/x-www-form-urlencoded] is not supported 해결방법

kmhan 2021. 4. 27. 14:13


728x90
반응형

소스 끝에 -H Content-Type:application/json 붙일 것

 

내가 작성한 소스 : curl -XPOST localhost:9200/_bulk --data-binary @simple_basketball.json -H Content-Type:application/json

728x90
반응형


Comments