Help

The Airtable Community will undergo scheduled maintenance on September 17 from 10:00 PM PST to 11:15 PM PST. During this period, you may experience temporary disruptions. We apologize for any inconvenience and appreciate your understanding.

How do we make an API call to an external API in the script automation of airtable?

Topic Labels: Scripting extentions
2168 1
cancel
Showing results for 
Search instead for 
Did you mean: 
FinAll_Core_Tea
5 - Automation Enthusiast
5 - Automation Enthusiast

I am trying to call an external API endpoint using the script in the automation functionality of airtable but the following code gives me an error.
var xhr = new XMLHttpRequest();

1 Reply 1
FinAll_Core_Tea
5 - Automation Enthusiast
5 - Automation Enthusiast

Nvm I think fetch works perfectly fine.