# Link format: how to use the cURL format - instead GET format?

**URL:** <https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404>\
**Category:** Ask for Help\
**Created:** [January 19, 2022, 2:01pm UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404 "2022-01-19T14:01:01Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![ALEKSEI\_BARANOV](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aleksei_baranov/32/33948_2.png) [@ALEKSEI\_BARANOV](https://community.glideapps.com/u/ALEKSEI_BARANOV)\
**Post date:** [January 19, 2022, 2:01pm UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/1 "2022-01-19T14:01:01Z")

</div>

Hey gliders!  
I need to open a link to start API integration.  
The service i am calling asked to request it by the cURL format request in its documentation (there are also PHP and Phyton methods).  
I copied that cURL to my column in GS and use by Open Link actions. There is an error unfortunately.  
{  
“type” : “error”,  
“id” : “602597d6-de52-47e6-89d5-b26b93189a59”,  
“code” : “invalid\_request”,  
“description” : “Request sent for an endpoint with no processor”  
}

So the question is could we use cURL format to open a link, or we need to transform cURL to GET format first?  
If we need to use only GET to open a link in Glide, how we could to convert cURL into GET?  
Thank you very much in advance)

---

<div class="post-metadata">

**Author:** ![ALEKSEI\_BARANOV](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aleksei_baranov/32/33948_2.png) [@ALEKSEI\_BARANOV](https://community.glideapps.com/u/ALEKSEI_BARANOV)\
**Post date:** [January 19, 2022, 3:37pm UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/2 "2022-01-19T15:37:49Z")

</div>

Another way - How could we open a link by Glide  
if it stored  
in a cURL (multi line) format?

- not in GET (one line) format.

---

<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:** [January 20, 2022, 12:24am UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/3 "2022-01-20T00:24:11Z")

</div>

Are you trying to do just GET?

Can we have an example of how they’re trying to tell you to use cURL to do a GET request?

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [January 20, 2022, 12:37am UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/4 "2022-01-20T00:37:58Z")

</div>

Ya…this sounds like the use of a webhook or an HTTP module in Integromat…

---

<div class="post-metadata">

**Author:** ![ALEKSEI\_BARANOV](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aleksei_baranov/32/33948_2.png) [@ALEKSEI\_BARANOV](https://community.glideapps.com/u/ALEKSEI_BARANOV)\
**Post date:** [January 20, 2022, 4:04am UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/5 "2022-01-20T04:04:46Z")

</div>

Thank you very much, Robert! 🙏  
I’ve thinked only way to open a link is “Open Link” Action, but seems it can use just a GET method. And after your post i hope will found another ways to open link with another methods. Running to do this) 🖐 🚴‍♂️

---

<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:** [January 20, 2022, 4:07am UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/6 "2022-01-20T04:07:20Z")

</div>

Can you show which API you want to work with?

You might be able to use the [Fetch JSON](https://www.glideapps.com/plugins/fetch) plugin.

---

<div class="post-metadata">

**Author:** ![ALEKSEI\_BARANOV](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aleksei_baranov/32/33948_2.png) [@ALEKSEI\_BARANOV](https://community.glideapps.com/u/ALEKSEI_BARANOV)\
**Post date:** [January 20, 2022, 4:13am UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/7 "2022-01-20T04:13:57Z")

</div>

ThinDinh, thank you for your reply. They have a documentation, and it describe the POST method should be used, aka

 ![2022-01-20_07-10-07](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/5/2577ef456cbfe867d75df0813bc536657c633281.png)  
Also their Support answered the GET method is not applicable.

---

<div class="post-metadata">

**Author:** ![ALEKSEI\_BARANOV](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aleksei_baranov/32/33948_2.png) [@ALEKSEI\_BARANOV](https://community.glideapps.com/u/ALEKSEI_BARANOV)\
**Post date:** [January 20, 2022, 4:18am UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/8 "2022-01-20T04:18:27Z")

</div>

Thank you very much 🙏 Darren!  
Which method do you think work faster  
Fetch JSON  
or a Webhook  
or a HTTP module by Integromat?

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 20, 2022, 4:27am UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/9 "2022-01-20T04:27:24Z")

</div>

i think, fetch JSON is pretty fast… and you can use it in google scripts

---

<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:** [January 20, 2022, 4:37am UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/10 "2022-01-20T04:37:03Z")

</div>

I don’t think you can do POST with the Fetch JSON module, so probably the easiest solution might be a webhook to Integromat, and then use the HTTP module to send the POST request.

The other alternative would be Apps Script, as Uzo suggests, but that may be a challenge if you’re not familiar with Apps Script.

---

<div class="post-metadata">

**Author:** ![Uzo](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/uzo/32/22639_2.png) [@Uzo](https://community.glideapps.com/u/Uzo)\
**Post date:** [January 20, 2022, 4:38am UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/11 "2022-01-20T04:38:33Z")

</div>

yes you can… I’m posting links to Stripe using script  
sorry, not fetch JSON… UrlFetchApp.fetch(url, params)

---

<div class="post-metadata">

**Author:** ![ALEKSEI\_BARANOV](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aleksei_baranov/32/33948_2.png) [@ALEKSEI\_BARANOV](https://community.glideapps.com/u/ALEKSEI_BARANOV)\
**Post date:** [January 20, 2022, 9:28am UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/12 "2022-01-20T09:28:02Z")

</div>

Thank you, Uzo 🙏  
Unfortunately am not familiar with Google scripts.  
Will se what would be faster - to use Integromat (i used before for other purpose),  
or to deep into scripts. Seems the first would be faster.  
Anyway i will see your way also to keep it in mind next time)

---

<div class="post-metadata">

**Author:** ![ALEKSEI\_BARANOV](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aleksei_baranov/32/33948_2.png) [@ALEKSEI\_BARANOV](https://community.glideapps.com/u/ALEKSEI_BARANOV)\
**Post date:** [January 20, 2022, 9:30am UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/13 "2022-01-20T09:30:41Z")

</div>

Thank you Darren 🙏  
Going the first way)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [January 21, 2022, 9:30am UTC](https://community.glideapps.com/t/link-format-how-to-use-the-curl-format-instead-get-format/37404/14 "2022-01-21T09:30:43Z")

</div>

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