Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Update using-custom-schemas.mdx to show both headers involved (#19470)

GaryAustin122a7f7e4f47c
diff --git a/apps/docs/pages/guides/api/using-custom-schemas.mdx b/apps/docs/pages/guides/api/using-custom-schemas.mdx
index 94b69a3fa11..58d6c2dec23 100644
--- a/apps/docs/pages/guides/api/using-custom-schemas.mdx
+++ b/apps/docs/pages/guides/api/using-custom-schemas.mdx
@@ -45,7 +45,9 @@ const { data: todos, error } = await supabase.from('todos').select('*')
<TabPanel id="curl" label="cURL">
```bash
-# Append /rest/v1/ to your URL, and then use the table name as the route
+# Append /rest/v1/ to your URL, and then use the table name as the route.
+# Use Accept-Profile header for GET and HEAD.
+# Use Content-Profile header for POST, PATCH, PUT and DELETE.
curl '<SUPABASE_URL>/rest/v1/todos' \
-H "apikey: <SUPABASE_ANON_KEY>" \
-H "Authorization: Bearer <SUPABASE_ANON_KEY>" \