From 16b5161ddf6f5e855e1fe06d7aab3cb2b56691ed Mon Sep 17 00:00:00 2001 From: rustamd Date: Fri, 22 Apr 2022 07:40:46 -0400 Subject: [PATCH] Update api.mdx --- web/docs/guides/api.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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://.supabase.co/rest/v1`) is compatible with any GraphiQL implementation that can pass an `apikey` header. +The GraphQL Endpoint that we provide (`https://.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 ```bash -# Append /grapqhl/v1/ to your URL, and then use the table name as the route -curl --request POST '/grapqhl/v1' \ +# Append /graphql/v1/ to your URL, and then use the table name as the route +curl --request POST '/graphql/v1' \ -H 'apikey: ' \ -H 'Authorization: Bearer ' \ -d '{ "query":"{ todos(first: 3) { edges { node { id } } } }" }'