Appearance
记录
查询记录。
const TOKEN = '123456';
const TABLE_ID = 'dst123456';
const url = 'https://vika.cn/fusion/v3/datasheets/' + TABLE_ID + '/records';
const options = {method: 'GET', headers: {Authorization: 'Bearer ' + TOKEN}};
try {
const response = await fetch(url, options);
const json = await response.json();
console.log(json.data.records);
} catch (error) {
console.error(error);
}