mirror of
https://github.com/supabase/supabase.git
synced 2026-07-07 09:30:21 +08:00
33 lines
1.6 KiB
Plaintext
33 lines
1.6 KiB
Plaintext
---
|
|
id: 'data-apis'
|
|
title: 'Working with the Data APIs'
|
|
subtitle: 'Perform database operations using REST API calls'
|
|
---
|
|
|
|
Supabase's auto-generated Data APIs let you perform operations on your database using REST API calls. You can read, write, and delete data, and even call functions, without writing an intermediate layer to translate between your app and Postgres.
|
|
|
|
## How to use the data APIs
|
|
|
|
The Data APIs are auto-generated HTTP REST endpoints. You can call them in the same way as any HTTP endpoint, for example, using `curl` from the command line or `fetch` from the browser. For convenience, you can use the Supabase client libraries. The client libraries perform the HTTP call for you, while also handling authentication, parsing responses, and maintaining type safety.
|
|
|
|
For examples of how to perform common database operations, see the Database section:
|
|
|
|
- <Link href="/guides/database/tables" id="managing-tables-views-and-data">
|
|
Managing tables, views, and data
|
|
</Link>
|
|
- <Link href="/guides/database/joins-and-nesting" id="querying-joins-and-nested-tables">
|
|
Querying joins and nested tables
|
|
</Link>
|
|
- <Link href="/guides/database/json" id="json-and-unstructured-data">
|
|
JSON and unstructured data
|
|
</Link>
|
|
- <Link href="/guides/database/functions" id="managing-database-functions">
|
|
Managing database functions
|
|
</Link>
|
|
- <Link href="/guides/database/full-text-search" id="using-full-text-search">
|
|
Using full-text search
|
|
</Link>
|
|
- <Link href="/guides/database/debugging-performance" id="debugging-performance-issues">
|
|
Debugging performance issues
|
|
</Link>
|