Send GET request using the JS API client to an index

Hi everyone!

How can I send a GET request to an index using the JS API client? I tried using the client from algoliasearch and the helper from algoliasearchHelper but I didn’t found a way to achieve a simple GET with it.

I perfectly know that I can send a simple HTTP request without the algolia clients, but I would prefer not to hardcode the hosts and the fallback strategy.