Happy February! We’re excited to announce that our new remoteFetchAsync
function is now live within the Scripting App.
One of the most common issues we see users run into when writing scripts is in trying to use the fetch
API to communicate with an external service. Because Scripting App scripts run directly in the user’s browser, fetch
requests will be blocked by the browser if the target server doesn’t support Cross-Origin Resource Sharing (CORS).
The new remoteFetchAsync
method transmits the request from Airtable’s own servers rather from the user’s browser, thereby getting around CORS issues. remoteFetchAsync
works very similarly to fetch
and expects the same inputs, except for a handful of “gotchas” stemming from the fact that this is run from a backend.
Resources to get started:
- Read documentation: Learn about the functionality of
remoteFetchAsync
here.
- Share your script template with Airtable customers: Already built a script that utilizes backend fetch? Submit here to get it listed in the Airtable marketplace.
Let us know if you have any questions or feedback in the comments below!