mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
Update api.mdx
This commit is contained in:
1 parent
0b35ac52be
commit
16b5161ddf
1 file changed
+3
-3
@@ -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 } } } }" }'
|
||||
|
||||
Reference in new issue
Block a user