# How do I connect to this API on Android

**URL:** https://community.thunkable.com/t/how-do-i-connect-to-this-api-on-android/1273638
**Category:** Questions about Thunkable X
**Tags:** webapi
**Created:** [May 10, 2021, 9:43am UTC](https://community.thunkable.com/t/how-do-i-connect-to-this-api-on-android/1273638 "2021-05-10T09:43:45Z")
**Posts on this page:** 8
**Page:** 2

<div class="post-metadata">

### Author: ![backscratcher2007](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/backscratcher2007/32/104623_2.png) [@backscratcher2007](https://community.thunkable.com/u/backscratcher2007)
#### Post date: [May 11, 2021, 12:45pm UTC](https://community.thunkable.com/t/how-do-i-connect-to-this-api-on-android/1273638/23 "2021-05-11T12:45:55Z")

</div>

That’s really nice, i’ll change my code and get back to you 😁

It seems i have made a checklist by mistake in the json 😅

---

<div class="post-metadata">

### Author: ![backscratcher2007](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/backscratcher2007/32/104623_2.png) [@backscratcher2007](https://community.thunkable.com/u/backscratcher2007)
#### Post date: [May 11, 2021, 2:03pm UTC](https://community.thunkable.com/t/how-do-i-connect-to-this-api-on-android/1273638/24 "2021-05-11T14:03:25Z")

</div>

Hi again,  
I see @domhnallohanlon has been editing my posts 😁, anyway i was looking at all the properties in label, and i came across overflow, it would be the solution to my problem if i could get it to work any advice? @muneer @domhnallohanlon @tatiang

---

<div class="post-metadata">

### Author: ![backscratcher2007](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/backscratcher2007/32/104623_2.png) [@backscratcher2007](https://community.thunkable.com/u/backscratcher2007)
#### Post date: [May 12, 2021, 1:32pm UTC](https://community.thunkable.com/t/how-do-i-connect-to-this-api-on-android/1273638/25 "2021-05-12T13:32:10Z")

</div>

@domhnallohanlon @jane How would can i use overflow property for this situation? @muneer @tatiang feel free to join in.

---

<div class="post-metadata">

### Author: ![backscratcher2007](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/backscratcher2007/32/104623_2.png) [@backscratcher2007](https://community.thunkable.com/u/backscratcher2007)
#### Post date: [May 12, 2021, 4:45pm UTC](https://community.thunkable.com/t/how-do-i-connect-to-this-api-on-android/1273638/26 "2021-05-12T16:45:26Z")

</div>

@muneer I used your idea and made my app like that, and it works like a charm. Although there is one problem.Attaching screenshots.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/e/ee70f86464187381d9e6f2c388ab733b21cfc691.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/a/8ad5a1e876b1018ff3b097a7cec9cf040d34ce72.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f27912fcf5417dc3beae13333228e24c9d735f2.png)  
👆 This is the problem, i am using cloning to make those buttons, slots left label, and list viewer, as you can see, it covers the label, i tried making the column in which it was sitting scrollable but that didn’t work.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [May 12, 2021, 4:53pm UTC](https://community.thunkable.com/t/how-do-i-connect-to-this-api-on-android/1273638/27 "2021-05-12T16:53:21Z")

</div>

A scrollable column needs other dependencies such as the components above and below it must act as anchors or buffers to that column otherwise it will not scroll.

Very hard to give a suggestion with little info about the design of the screen and all its components.

---

<div class="post-metadata">

### Author: ![backscratcher2007](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/backscratcher2007/32/104623_2.png) [@backscratcher2007](https://community.thunkable.com/u/backscratcher2007)
#### Post date: [May 18, 2021, 5:36am UTC](https://community.thunkable.com/t/how-do-i-connect-to-this-api-on-android/1273638/28 "2021-05-18T05:36:53Z")

</div>

Well i got a solution to my question! I was looking at someone’s python script for booking slots, when i saw the person had “User-Agent” in his headers. So i tried that in mine too, it worked! But for anyone who has a similar issue, it won’t work on the web anymore so you would have to make one change:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/c/1c05acd92cacea54b055baa11e977809acc92851.png)

---

<div class="post-metadata">

### Author: ![creigatmivfsrs](https://avatars.discourse-cdn.com/v4/letter/c/8c91f0/32.png) [@creigatmivfsrs](https://community.thunkable.com/u/creigatmivfsrs)
#### Post date: [October 4, 2021, 1:38pm UTC](https://community.thunkable.com/t/how-do-i-connect-to-this-api-on-android/1273638/29 "2021-10-04T13:38:13Z")

</div>

> [@backscratcher2007](#):
>
> ERROR: The request could not be satisfied

CloudFront cannot connect to origins with invalid certificates. You have a few options:

- You can configure your distribution to connect to your backed on http only.
- Put an ELB/ALB in front of your instance and terminate the TLS on the Balancer. You can use Amazon Certificate manager to create a certificate for free.
- Purchase a certificate from a 3rd party and use it on your instance.

I met this issue some time before. The request blocked by CloudFront.

Please check this list:

CDN domain added in Cloudfront Alternate Domain Names. Once you add [CDN](http://net-informations.com/jq/intro/cdn.htm) domain to Cloudfront, you can select CloudFront endpoint without typing

`WAF (if any) does not block your request`

`Check Http and Https`

---

<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:22pm UTC](https://community.thunkable.com/t/how-do-i-connect-to-this-api-on-android/1273638/30 "2024-11-08T13:22:38Z")

</div>



[Previous page](https://community.thunkable.com/t/how-do-i-connect-to-this-api-on-android/1273638.md?page=1)
