This article is here to show you how to Make HTTP Get Request using the web-based tool make.com. This easy-to-understand guide can help you connect to any REST API, regardless of whether it has a built-in connector or not, thanks to make.com’s versatile HTTP module. Here’s what you’ll learn:
- How to create a ‘GET’ request scenario using make.com.
- The importance and setup of Headers and the API’s key in our request.
- The convenience of optional data parsing in make.com for cleaner review of returned data.
- Understanding and handling parameters appended in the URL or added in the query string field.
- Why encoding is necessary for parameters involving special characters, and how to execute it properly to avoid issues.
By the end of this article, you’ll be able to confidently set up and Make HTTP Get Request using make.com, and start automating more business tasks. Don’t worry if you get stuck – there’s help available!
How to Make HTTP Get Request using the make.com HTTP Module
Are you trying to set up an HTTP GET request with a make.com HTTP module? If so, you are at the right place. I’m Andy O’Neill, and my goal is to help you add automation to your business. One of the powerful features of make.com is its HTTP module which allows you to connect to any REST API, even without a built-in connector. Though the setup can be a bit challenging at times, don’t worry, we will break down the process for you.
We will use the RapidAPI documentation today as our sample API documentation, but you should find similar structure in yours. RapidAPI provides examples in different programming languages, but for our purpose, we need the curl example, which will show a standard curl GET request. This request includes a URL, a range of Fields, Headers, and a Parameter.
Setting Up HTTP GET Request
We will start by creating a scenario in make.com. You can add an HTTP module by selecting “make a basic auth request”. This sends an HTTP request to a specified URL which we’ll take from our curl example. Our method is a ‘GET’ request and then we paste our URL from the command line. We also have to set up the headers, which are separated by a colon in the curl example, and the APIs key into relevant fields on make.com. After we’ve set all this, the HTTP module is ready for a test run.
We have an optional setting on make.com to parse the returned data. Parsing the data can make it cleaner for our review. Here we will set the ‘Parse Response’ option to ‘Yes’.
In some cases, we might not want to append the parameters to our URL. In such cases, we can add these parameters to the query string field on make.com. The parameters are added just like on URL, but this time under a separate section.
Remember, if your parameters involve special characters like spaces, commas, or apostrophes, you will need to encode these parameters by an encode URL to prevent issues happening due to these special characters.
And voila! You have now learned how to Make HTTP Get Request using make.com’s HTTP module. Keep in mind, the explanations of API documentation may vary, but the general structure and process of making HTTP requests remain the same. If you run into any issues, don’t hesitate to seek assistance. My team and I are always ready to help. Keep learning and adding automation to your business!
No related posts just yet, check back soon!