Tutorial: GraphQL query with variables
Time: ~8 minutes · Level: Intermediate
Steps
- Open the request panel and switch to GraphQL mode (exact control depends on version).
- Set URL to a public GraphQL endpoint (e.g. your API or a demo you trust).
- In Query, paste a minimal query (e.g.
query { __typename }if the server allows introspection, or your real field selection). - In Variables, paste
{}or a JSON object matching your query’s$vars. - Send and read the response in Pretty.
Checklist
- [ ] Errors from the GraphQL server appear in the response body (fix query vs variables)
- [ ] Variables JSON is valid (no trailing issues)
Related: GraphQL