Help

Welcome to the Airtable Community! If you're new here, check out our Getting Started area to get the most out of your community experience.

Not getting a response when using remoteFetchAsync

Topic Labels: Scripting extentions
Solved
Jump to Solution
363 2
cancel
Showing results for 
Search instead for 
Did you mean: 

I’m not sure what I’m doing with remoteFetchAsync, but when I make the same API call in Postman I get a response with the list of warehouses. When I do it in Airtable I just get a status. What can I do to get the response back?

Screen Shot 2021-02-09 at 8.14.33 PM Screen Shot 2021-02-09 at 8.13.34 PM

1 Solution

Accepted Solutions

Try this…

let postGET = "https://...";

let getOptions = {
    method: "GET",
    headers: {
        'Accept' : 'application/json',
    },
}
const getResults  = await remoteFetchAsync(getURL, getOptions);
const jsonPost    = await getResults.json();

See Solution in Thread

2 Replies 2

Try this…

let postGET = "https://...";

let getOptions = {
    method: "GET",
    headers: {
        'Accept' : 'application/json',
    },
}
const getResults  = await remoteFetchAsync(getURL, getOptions);
const jsonPost    = await getResults.json();