Postman’s GraphQL client is tailored for making GraphQL requests, but you can also create GraphQL requests using Postman’s HTTP request interface. The HTTP request interface might be better for some use cases, like working with legacy systems or projects that include both GraphQL and non-GraphQL APIs.
Postman has built-in support for sending GraphQL queries in the request body, using GraphQL variables, and introspection and importing GraphQL schemas.
Enter your GraphQL variables in the GraphQL variables editor.
In the Query editor, declare the GraphQL variable in your query. For more information on how to use GraphQL variables, see the GraphQL variables documentation.

You can also use Postman variables as data inputs for GraphQL variables using {{variable}} syntax.
To enable autocompletion while writing queries, your request needs a GraphQL schema. When you enter a GraphQL endpoint URL in the URL box, Postman automatically fetches the GraphQL schema using introspection. When Postman successfully auto-fetches a schema, a notification appears next to the schema selection list. If your schema has changed, click Refresh to pull in the changes.
You also have the option to manually import a schema into your request. After creating or importing a GraphQL API into your workspace, you can use that API’s schema for your request instead of the auto-fetched schema.
To import a GraphQL schema into your request manually, do the following:
Click > HTTP and enter a GraphQL endpoint URL in the URL box.
Select POST from the request method dropdown list.
Under the Body tab, select the GraphQL body type.
Click next to Auto Fetch to open the schema selection dropdown list.
Select your schema from the dropdown list.
You may need to refresh by clicking Refresh.
When you write your query, Postman suggests autocomplete options from the data in the selected GraphQL schema.
application/graphql value for the Content-type key.application/graphql value for the Content-type key.POST request method. Postman opens the request in a new tab with the specified GraphQL endpoint URL and the POST request method selected.