Import a GraphQL SDL, get mock queries and mutations, and call them at a single project endpoint.
Try it live.graphql file), preview the operations, and import.Queries, mutations, and subscriptions in the schema become mock operations. Re-importing updates existing operations for the same fields.
All GraphQL traffic for a project goes to one URL. Send a standard GraphQL HTTP request with a query string (and optional variables):
Successful responses use the usual GraphQL shape:
If the project requires an API token, include it the same way as for REST (Bearer token or project API key headers).
On a GraphQL project, the built-in tester opens a GraphQL query panel instead of the REST request builder. Enter a query or mutation, send it, and inspect the data / errors response. Requests are logged like any other mock traffic.
Importing a GraphQL schema into a project already locked to REST (or another protocol) fails with HTTP 409. Create a new GraphQL project instead. See Choosing a Protocol.