Test GraphQL APIs with GraphQL Explorer
-
- UpdatedFeb 1, 2024
- 3 minutes to read
- Washington DC
- Web Services
Test query your GraphQL APIs using an integrated GraphQL testing tool.
Before you begin
Create a schema for your GraphQL API. For more information, see Create a GraphQL schema.
Enabling introspective queries allows GraphQL Explorer to show the schemas on the instance in the Documentation Explorer and as auto-complete suggestions, which makes finding queries and mutations easier. For more information, see Enable introspective queries for GraphQL schemas.
Role required: graphql_schema_admin or admin
About this task
The GraphQL Explorer integrates the GraphiQL IDE into the Now Platform. For additional information about the interface, see the GraphiQL readme in the GraphiQL GitHub repository.
Procedure
What to do next
If you need to view a list of previous queries, in left sidebar, select the Show History icon ().
To access record data in a component, you can create a custom component and query your scripted GraphQL schema from the component. For more information, see Query a GraphQL schema from a component.