If your GraphQL endpoint accepts the application/graphql header, invoking a GraphQL endpoint from Postman becomes really easy:
- Add the header
Content-type: application/graphql:
- Now you can just paste your GraphQL query in the body of the request:
- And if you execute the request, you get the GraphQL data back: