인프런 커뮤니티 질문&답변
Elasticsearch 6.0 부터는 Content-Type을 명시해야한다고 합니다!
작성
·
415
7
0:42
$ curl -XPOST http://localhost:9200/classes/class/1/ -H'Content-Type: application/json' -d '
{"title" : "Algorithm", "professor" : "John"}'
작성
·
415
7
0:42
$ curl -XPOST http://localhost:9200/classes/class/1/ -H'Content-Type: application/json' -d '
{"title" : "Algorithm", "professor" : "John"}'