# HTTP Request In make

**URL:** <https://community.glideapps.com/t/http-request-in-make/65551>\
**Category:** Ask for Help\
**Created:** [August 29, 2023, 10:03pm UTC](https://community.glideapps.com/t/http-request-in-make/65551 "2023-08-29T22:03:27Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mwza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mwza/32/43529_2.png) [@mwza](https://community.glideapps.com/u/mwza)\
**Post date:** [August 29, 2023, 10:03pm UTC](https://community.glideapps.com/t/http-request-in-make/65551/1 "2023-08-29T22:03:27Z")

</div>

Hi All

Struggling to make this work. Using Make / Integromat to watch invoices in Xero to trigger a post action to glide table. As far as I can see i have completed all steps but am still getting Status 401 and no record added to glide.  
Here is what my HTTP request result looks like. Appreciate any guidance

 ![IMG_0243](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/5/5560eab2a2b1bc2a154fb3351e9bddff53cacbca.jpeg)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 30, 2023, 1:06am UTC](https://community.glideapps.com/t/http-request-in-make/65551/2 "2023-08-30T01:06:30Z")

</div>

401 Unauthorized likely means you have not configured an authorization header for it. Can you confirm this?

---

<div class="post-metadata">

**Author:** ![mwza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mwza/32/43529_2.png) [@mwza](https://community.glideapps.com/u/mwza)\
**Post date:** [August 30, 2023, 1:17am UTC](https://community.glideapps.com/t/http-request-in-make/65551/3 "2023-08-30T01:17:06Z")

</div>

Hi Thin  
I have configure Authorization Header:

 ![CleanShot 2023-08-30 at 03.15.40@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/b/fbbe45dd748b5ccfefa2e2ca958cc2a54b30d804.jpeg)  
Checeked the bearer id is correct as well

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [August 30, 2023, 1:47am UTC](https://community.glideapps.com/t/http-request-in-make/65551/4 "2023-08-30T01:47:52Z")

</div>

Does the normal CURL command work in a terminal? Are you on Pro+ with a working payment method?

---

<div class="post-metadata">

**Author:** ![mwza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mwza/32/43529_2.png) [@mwza](https://community.glideapps.com/u/mwza)\
**Post date:** [August 30, 2023, 1:58am UTC](https://community.glideapps.com/t/http-request-in-make/65551/5 "2023-08-30T01:58:11Z")

</div>

Sorry - I am not sure how to test “Does the normal CURL command work in a terminal?”

I just had an app reach limits during a live event within last 3 days and upgraded to business trial. Having said that I need to update a card expiring shortly as well. Could that be the issue? If so resoluition would be to?

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [August 30, 2023, 2:00am UTC](https://community.glideapps.com/t/http-request-in-make/65551/6 "2023-08-30T02:00:53Z")

</div>

Well, this is a paid feature. If you’re on a trial and/or you think your cards are expired, yeah, that could be involved!

---

<div class="post-metadata">

**Author:** ![mwza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mwza/32/43529_2.png) [@mwza](https://community.glideapps.com/u/mwza)\
**Post date:** [August 30, 2023, 2:03am UTC](https://community.glideapps.com/t/http-request-in-make/65551/7 "2023-08-30T02:03:14Z")

</div>

ok - the card expires 31 August and we’re not there yet. I was on paid pro, but like i said upgraded to business when App limits reached message was broadcast. The upgrade came with automatic trial period so would not have thought there was a payment issue involved.

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [August 30, 2023, 2:03am UTC](https://community.glideapps.com/t/http-request-in-make/65551/8 "2023-08-30T02:03:52Z")

</div>

Yeah, error 401 should just mean that the token is wrong, nothing to do with payment.

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [August 30, 2023, 2:05am UTC](https://community.glideapps.com/t/http-request-in-make/65551/9 "2023-08-30T02:05:34Z")

</div>

I don’t see a `Content-Type: application/json` in your headers…

---

<div class="post-metadata">

**Author:** ![mwza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mwza/32/43529_2.png) [@mwza](https://community.glideapps.com/u/mwza)\
**Post date:** [August 30, 2023, 2:09am UTC](https://community.glideapps.com/t/http-request-in-make/65551/10 "2023-08-30T02:09:30Z")

</div>

Hi Darren - thanks for responding  
I have the content type specified per below under body type - is that not what you are referring to?

 ![CleanShot 2023-08-30 at 04.06.39@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/f/7f6b31461fce83ed9f86680acae92ecbc7f59a25.jpeg)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [August 30, 2023, 2:11am UTC](https://community.glideapps.com/t/http-request-in-make/65551/11 "2023-08-30T02:11:06Z")

</div>

No.

I could be wrong, but I believe it’s also required in the header. (I’ve never actually tested without it, that’s why I’m not 100% sure).

---

<div class="post-metadata">

**Author:** ![mwza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mwza/32/43529_2.png) [@mwza](https://community.glideapps.com/u/mwza)\
**Post date:** [August 30, 2023, 2:16am UTC](https://community.glideapps.com/t/http-request-in-make/65551/12 "2023-08-30T02:16:52Z")

</div>

I will give it a try - I have been following @Robert_Petitto videos on Glide API (so useful thanks Robert) and I believe suggestion there was that it was not necessary.  
How would I define each value Daren?  
Name:  
Value:

Appreciate

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [August 30, 2023, 2:18am UTC](https://community.glideapps.com/t/http-request-in-make/65551/13 "2023-08-30T02:18:34Z")

</div>

> [@mwza](#):
>
> Name:  
> Value:

Name: `Content-Type`  
Value: `application/json`

---

<div class="post-metadata">

**Author:** ![mwza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mwza/32/43529_2.png) [@mwza](https://community.glideapps.com/u/mwza)\
**Post date:** [August 30, 2023, 2:24am UTC](https://community.glideapps.com/t/http-request-in-make/65551/14 "2023-08-30T02:24:50Z")

</div>

> [@Darren\_Murphy](#):
>
> application/json

sorry - i realised soon as i sent you request that was what you had indicated  
I have tried but still getting 401 error and Data: Unauthorised.  
Like I said i double checked i copied “secret key” as bearer id under authorizations header.

 ![CleanShot 2023-08-30 at 04.21.49@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/3/f398e346d8c87888fe0f47a046e48cae453ce9d2.png)  
 ![CleanShot 2023-08-30 at 04.21.21@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/e/ce3828c9449497334e90f14ff26ea3c774a68fa5.jpeg)

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [August 30, 2023, 2:29am UTC](https://community.glideapps.com/t/http-request-in-make/65551/15 "2023-08-30T02:29:54Z")

</div>

Do as David suggested and try it from a terminal. That will help narrow down the cause.

Copy the curl example from “Show API usage”, and paste that into a terminal window

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [August 30, 2023, 2:32am UTC](https://community.glideapps.com/t/http-request-in-make/65551/16 "2023-08-30T02:32:30Z")

</div>

Did you add “Bearer” as part of your authorization header? I think that part is a bit shorter than what I usually see, but just my guess.

---

<div class="post-metadata">

**Author:** ![mwza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mwza/32/43529_2.png) [@mwza](https://community.glideapps.com/u/mwza)\
**Post date:** [August 30, 2023, 4:06am UTC](https://community.glideapps.com/t/http-request-in-make/65551/17 "2023-08-30T04:06:58Z")

</div>

> [@Darren\_Murphy](#):
>
> “Show API usage”

Hi Darren  
Sorry to ask (true no coder - but learning)  
Where will i find “Show API usage”

---

<div class="post-metadata">

**Author:** ![mwza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mwza/32/43529_2.png) [@mwza](https://community.glideapps.com/u/mwza)\
**Post date:** [August 30, 2023, 4:07am UTC](https://community.glideapps.com/t/http-request-in-make/65551/18 "2023-08-30T04:07:51Z")

</div>

I think the “redacter” hides the second line - I definitely copied in the bearer code in correctly and have checked multiple times

---

<div class="post-metadata">

**Author:** ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)\
**Post date:** [August 30, 2023, 4:12am UTC](https://community.glideapps.com/t/http-request-in-make/65551/19 "2023-08-30T04:12:27Z")

</div>

> [@mwza](#):
>
> Where will i find “Show API usage”

In the Data Editor.  
Right-click on a Table name, and you’ll see “Show API”  
Once that opens, select `curl` and `Add Rows`

 ![CleanShot 2023-08-30 at 12.09.44@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/4/3/4351c4e078a4ecb25471b29146275fa52eb22d7f.jpeg)

Copy that, paste it into a terminal window, and execute it.  
Observe the response that you get back.

---

<div class="post-metadata">

**Author:** ![mwza](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/mwza/32/43529_2.png) [@mwza](https://community.glideapps.com/u/mwza)\
**Post date:** [August 30, 2023, 4:48am UTC](https://community.glideapps.com/t/http-request-in-make/65551/20 "2023-08-30T04:48:52Z")

</div>

Here is the result from terminal - rowID returned

 ![CleanShot 2023-08-30 at 06.43.00@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/f/7f6db10180e48174dae222c9391e8e5bc55cf2a7.png)  
And had a row added to glide table but with column headers instead of data. I need to check the mapping of fields from Xero  
 ![CleanShot 2023-08-30 at 06.45.19@2x](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/0/1/01c378e5623c9ca460908fc0797a98ae17bdf7b2.jpeg)

[Next page](https://community.glideapps.com/t/http-request-in-make/65551.md?page=2)
