# WebApi GET issue. Not Working

**URL:** <https://community.thunkable.com/t/webapi-get-issue-not-working/1179481>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [March 21, 2021, 11:44pm UTC](https://community.thunkable.com/t/webapi-get-issue-not-working/1179481 "2021-03-21T23:44:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruno\_Fenner](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@Bruno\_Fenner](https://community.thunkable.com/u/Bruno_Fenner)\
**Post date:** [March 21, 2021, 11:44pm UTC](https://community.thunkable.com/t/webapi-get-issue-not-working/1179481/1 "2021-03-21T23:44:42Z")

</div>

Hey, guys.

Im facing a strange issue with my app. I created an app that talk with a ESP32 via web url. Simple comunnication, but works to me.

My problem is this. The app worked some time ago, but now, it refuses to do what did in the past.

[https://x.thunkable.com/copy/3e2b85e3b830bacdca0edf5fdd4ab933](https://x.thunkable.com/copy/3e2b85e3b830bacdca0edf5fdd4ab933)

I tried to recreate one simple part in MIT App Inventor, and worked flawlessly.

Somebody faced the same problem?

Thanks in advance.

---

<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:** [March 22, 2021, 2:42am UTC](https://community.thunkable.com/t/webapi-get-issue-not-working/1179481/2 "2021-03-22T02:42:33Z")

</div>

Your project has six screens. Where is the problem happening? How do we reproduce it?

---

<div class="post-metadata">

**Author:** ![Bruno\_Fenner](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@Bruno\_Fenner](https://community.thunkable.com/u/Bruno_Fenner)\
**Post date:** [March 22, 2021, 7:56pm UTC](https://community.thunkable.com/t/webapi-get-issue-not-working/1179481/3 "2021-03-22T19:56:59Z")

</div>

Thanks for your reply, tatiang.

In the screen CCT (and HUE, RGBW and efeitos), I have some buttons that call an URL like ‘[http://192.168.4.1/WB?x=0](http://192.168.4.1/WB?x=0)’, in 2700 for example.

The IP is configured in the ‘CONFIG’ screen. I type the IP, press ‘Salvar’ and it gets stored in a variable.

I created a label to show me that the variable is working, and it is.

When I click, it should change something in the ESP32, the way it happened some time ago.

I don’t think it can be reproduced because it works with an ESP32 board that I have here.

Thanks

---

<div class="post-metadata">

**Author:** ![xinwunazi6j](https://avatars.discourse-cdn.com/v4/letter/x/ccd318/32.png) [@xinwunazi6j](https://community.thunkable.com/u/xinwunazi6j)\
**Post date:** [March 23, 2021, 12:01pm UTC](https://community.thunkable.com/t/webapi-get-issue-not-working/1179481/4 "2021-03-23T12:01:39Z")

</div>

I think the WebAPI component does not like when your url does not has https in it and it will refuse to call the api. i tried adding https to my urls and then i see it started talking to the my server. i wonder what the solution for me here?

forgot to mention, my server is a flask app and if i try using ssl\_context=“adhoc” and use [https://myserverip/](https://myserverip/) to my server, it refuse to call too, my guess is because the ssl certificate is invalid thats why it prevented itself from running

---

<div class="post-metadata">

**Author:** ![xinwunazi6j](https://avatars.discourse-cdn.com/v4/letter/x/ccd318/32.png) [@xinwunazi6j](https://community.thunkable.com/u/xinwunazi6j)\
**Post date:** [March 24, 2021, 3:00am UTC](https://community.thunkable.com/t/webapi-get-issue-not-working/1179481/5 "2021-03-24T03:00:15Z")

</div>

workaround for this issue is ngrok

---

<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, 1:25pm UTC](https://community.thunkable.com/t/webapi-get-issue-not-working/1179481/6 "2024-11-08T13:25:51Z")

</div>


