Hi,
I have a custom search field from which I want to access elasticsearch results, for that, I am making API calls to
URL:
http://<my_url>:9200/_search
with
body
{
"query": {
"bool": {
"must": [
{
"query_string": {
"default_field": "_all",
"query": "white"
}
}
],
"must_not": [],
"should": []
}
},
"from": 0,
"size": 10,
"sort": [],
"aggs": {}
}
this call is returning result in Postman, but it's not working when making calls from cURL, is there any other way of doing this?