Skip to content

记录

查看记录。

const TOKEN = '123456';
const BASE_ID = '123abc';
const TABLE_ID = '12ab';

const url = `https://app.nocodb.com/api/v3/data/${BASE_ID}/${TABLE_ID}/records`;
const options = {method: 'GET', headers: {Authorization: 'Bearer ' + TOKEN}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}

联系 math@baima.site