From ae0df2ac4d2ddff2109b2e5982437ff3ed374ee4 Mon Sep 17 00:00:00 2001 From: Juan Carlos Blanco Delgado <36451129+juancarlosjr97@users.noreply.github.com> Date: Thu, 18 Mar 2021 02:20:36 +0000 Subject: [PATCH] Docs - Adding GraphQL Schema explanation to the docs (#4559) * Adding GraphQL schema explanation to the documentation to make sure to avoid errors * Adding extra line between headers --- docs/reference/api/graphql.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/reference/api/graphql.md b/docs/reference/api/graphql.md index 802a5dc5e4..73481114fc 100644 --- a/docs/reference/api/graphql.md +++ b/docs/reference/api/graphql.md @@ -18,6 +18,11 @@ experiment with GraphQL, and explore the data within. Like, where to post, where to enter the token, some basic queries, disclaimer that there are no mutations yet, how to do system tables vs custom tables, etc + +## Schema + +In order to use the GraphQL schema on a external GraphQL explorer the `content-type` header needs to be set to `application/json`, otherwise it will not load the schema correctly. + ## Authentication By default, the GraphQL endpoint will access data as the public role. If you feel like collections or fields are