Hello,
My input are:
idStock
getURL
getApiKeylabel
getApiKey
My code:
let table = base.getTable("Stocks");
let query = await table.selectRecordsAsync();
console.log(query.records);
let inputConfig = input.config();
console.log(`The value of idStock is ${inputConfig.idStock}`);
console.log(`The value of getApiKey is ${inputConfig.getApiKey}`);
console.log(`The value of getURL is ${inputConfig.getURL}`);
let mergeAPI = (`${inputConfig.getApiKeylabel}=${inputConfig.getApiKey}`);
let mergeURL = (`${inputConfig.getURL}${inputConfig.idStock}?${mergeAPI}`);
console.log(`The value of mergetURL is ${mergeURL}`);
let response = await fetch(`${mergeURL}`);
console.log(await response.json("price:"));
I want to output my json result to a field.Is it possible?