I'm trying make request using POST https://xxxxxxxx.ent.eu-central-1.aws.cloud.es.io/api/as/v1/engines/listings/elasticsearch/_search
based on Elasticsearch search API for App Search and get the next HTML template:
Elastic Enterprise Search
Enterprise Search has moved
Enterprise Search has moved into Kibana. Since version 8.0, the standalone user interface is no longer available. Manage App Search, Workplace Search, and all other Elastic features in one place!
Also, in my application, I added the gem GitHub - elastic/enterprise-search-ruby: Official Ruby client for Elastic Enterprise Search, App Search, and Workplace Search. After that, I try to call search_es_search and get there the same error.
When I make queries through POST https://xxxxxxxx.ent.eu-central-1.aws.cloud.es.io/api/as/v1/engines/listings/search
, everything works and I get objects.
How to fix this problem and make requests through _search?