개발자 문서
Onttle을 5분 안에 프로젝트에 연동하세요.
문서 카테고리
인기 문서
빠른 시작 코드
fetch 또는 curl로 REST API를 바로 호출하세요.
app.ts
typescript
const response = await fetch( 'https://api.onttle.com/v1/{{projectId}}/tables/posts/contents?status=PUBLISHED', { headers: { Authorization: `Bearer ${process.env.ONTTLE_API_KEY}`, 'Content-Type': 'application/json', }, },) const posts = await response.json()