Skip to content

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

Update api.mdx

rustamd16b5161ddf6f
diff --git a/web/docs/guides/api.mdx b/web/docs/guides/api.mdx
index c7456df06ae..ec0773f13f0 100644
--- a/web/docs/guides/api.mdx
+++ b/web/docs/guides/api.mdx
@@ -172,7 +172,7 @@ values={[
#### GraphQL
-The GraphQL Endpoint that we provide (`https://<project_ref>.supabase.co/rest/v1`) is compatible with any GraphiQL implementation that can pass an `apikey` header.
+The GraphQL Endpoint that we provide (`https://<project_ref>.supabase.co/graphql/v1`) is compatible with any GraphiQL implementation that can pass an `apikey` header.
Some suggested applications:
- [paw.cloud](https://paw.cloud)
@@ -295,8 +295,8 @@ const { data, fetching, error } = result
<TabItem value="cURL">
```bash
-# Append /grapqhl/v1/ to your URL, and then use the table name as the route
-curl --request POST '<SUPABASE_URL>/grapqhl/v1' \
+# Append /graphql/v1/ to your URL, and then use the table name as the route
+curl --request POST '<SUPABASE_URL>/graphql/v1' \
-H 'apikey: <SUPABASE_ANON_KEY>' \
-H 'Authorization: Bearer <SUPABASE_ANON_KEY>' \
-d '{ "query":"{ todos(first: 3) { edges { node { id } } } }" }'