Can't fetch data using REST / POSTMAN

I did a simple deployment and using the JS client pushed some records for an index 'hear2learn'. That was successful. I can also fetch records using JS client. but when I do a request using POSTMAN or browser passing my credentials. like this.

https://db5706372f4b41ea9ee7647ac8fe1647.asia-southeast1.gcp.elastic-cloud.com:9243/hear2learn/_search

I get no records but only
{
"took" : 0,
"timed_out" : false,
"_shards" : {
"total" : 1,
"successful" : 1,
"skipped" : 0,
"failed" : 0
},
"hits" : {
"total" : {
"value" : 0,
"relation" : "eq"
},
"max_score" : null,
"hits" :
}
}

Can somebody guide me what is the problem, I am new. I also get 0 hits or results when doing the request from my Flutter App using a simple http request with my credentials.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.