# Basic GET via WebAPI fails on any url

**URL:** <https://community.thunkable.com/t/basic-get-via-webapi-fails-on-any-url/841388>\
**Category:** Questions about Thunkable X\
**Created:** [September 23, 2020, 5:06am UTC](https://community.thunkable.com/t/basic-get-via-webapi-fails-on-any-url/841388 "2020-09-23T05:06:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![quickforwarduku](https://avatars.discourse-cdn.com/v4/letter/q/f4b2a3/32.png) [@quickforwarduku](https://community.thunkable.com/u/quickforwarduku)\
**Post date:** [September 23, 2020, 5:06am UTC](https://community.thunkable.com/t/basic-get-via-webapi-fails-on-any-url/841388/1 "2020-09-23T05:06:41Z")

</div>

I have tried to get the WebAPI to retrieve any url, and I do mean ANY URL, different domains, different file types, html, text, json, whatever. It ALWAYS returns ‘undefined’ as the status. I am not doing anything complicated.

 ![topost](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/f/1fbed9042f7e198a115def83119f01eb78913b05.png)

This should be dead simple, yet it can’t retrieve a simple URL via a get, and tell me the status.

There is NO auth on any of theses URLS. I’ve examined the headers and there’s no fields to add.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [September 23, 2020, 5:26am UTC](https://community.thunkable.com/t/basic-get-via-webapi-fails-on-any-url/841388/2 "2020-09-23T05:26:07Z")

</div>

Make sure you’re testing this on a mobile device using Thunkable Live (or as a web app if you’re a Pro user).

I don’t think you’ll get a status value from a url that is not hosting an API. Have you tried this with an API? If so, post your url (feel free to remove any API keys).

Or feel free to try this one that doesn’t require a key: [https://www.purpleair.com/json?&show=20901](https://www.purpleair.com/json?&show=20901)

You should get a status value of 200.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:23pm UTC](https://community.thunkable.com/t/basic-get-via-webapi-fails-on-any-url/841388/3 "2024-11-08T12:23:49Z")

</div>


