# Not getting the data

**URL:** <https://discuss.elastic.co/t/not-getting-the-data/281478>\
**Category:** Elasticsearch\
**Created:** [August 15, 2021, 1:55pm UTC](https://discuss.elastic.co/t/not-getting-the-data/281478 "2021-08-15T13:55:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![xubisid](https://avatars.discourse-cdn.com/v4/letter/x/5f8ce5/32.png) [@xubisid](https://discuss.elastic.co/u/xubisid)\
**Post date:** [August 15, 2021, 1:55pm UTC](https://discuss.elastic.co/t/not-getting-the-data/281478/1 "2021-08-15T13:55:50Z")

</div>

Hi,  
Whenever I try to GET / POST through the following URL in Postman. I am able to successfully perform the operation

[XXXX.ent.eastus2.azure.elastic-cloud.com](http://XXXX.ent.eastus2.azure.elastic-cloud.com)

when try to make the similar call through the code, I am not getting any data.

Through the following link, I am able to get the data but my log is not maintaining.

[XXXX.es.eastus2.azure.elastic-cloud.com](http://XXXX.es.eastus2.azure.elastic-cloud.com)

can someone please look into this?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 15, 2021, 10:53pm UTC](https://discuss.elastic.co/t/not-getting-the-data/281478/2 "2021-08-15T22:53:37Z")

</div>

> [@xubisid](#):
>
> Through the following link, I am able to get the data but my log is not maintaining.

It's not clear exactly what you are asking here.

However please make sure you are copying the Elasticsearch URL as described in [this part of the docs](https://www.elastic.co/guide/en/cloud/current/ec-working-with-elasticsearch.html#ec_before_you_begin_2).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 12, 2021, 10:54pm UTC](https://discuss.elastic.co/t/not-getting-the-data/281478/3 "2021-09-12T22:54:31Z")

</div>

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