I'm trying to perform a GET request to elastic search api which is needed in this form
GET /_search
{
"query": {
"more_like_this" : {
"fields" : ["title", "description"],
"like" : "Once upon a time",
"min_term_freq" : 1,
"max_query_terms" : 12
}
}
}
I used request But I can't find how to add body to the request.
Any help?