Help

Re: Not getting a response when using remoteFetchAsync

Solved
Jump to Solution
456 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Jared_Ingold
6 - Interface Innovator
6 - Interface Innovator

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
Bill_French
17 - Neptune
17 - Neptune

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
Bill_French
17 - Neptune
17 - Neptune

Try this…

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

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

that did it! Thanks!