Pass Json str as request parameter to put request


(bpatra119) #1

Can any one point me how to pass json string as request parameter to ES
Basically , I want to use the HTTP method to post to ES.

{"data" : [{"name" : "source", "dataType" : "String", "value" : "facebook", "analyzer" : "xyz", "boostFactor" : 1.399999976158142}], "analyzer" : "abc", "boostFactor" : 0.0}]


(system) #2