Requesting the Elasticsearch endpoint