How to set Referer header when calling external API using Script Extentions/Automation

586 0
Showing results for 
Search instead for 
Did you mean: 
4 - Data Explorer
4 - Data Explorer


I am trying to call an external API using airtable script extension/automation.
Those external APIs require Referer header validation. So, I tried the following based on the results of the search, but the Referer header is not set.


await fetch(URL, { 
  headers: { 
    'Content-Type': 'application/json', 
    'Referer': '' 
  referrer: '', 
  referrerPolicy: 'origin' 


Please let me know if there is a way to set the Referer header.

The reason we need a Referer header is to verify that request is from the Airtable. If Airtable team have a remote server that performs script/automation, please let us know all the IP bands of the server. Then we can verify requests without Referer header.



0 Replies 0