graphql_request
Send GraphQL queries or mutations to any endpoint with automatic credential and variable injection, simplifying authenticated API calls and testing.
Instructions
Send a GraphQL query/mutation to a GraphQL endpoint. Automatically injects credentials and variables.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | GraphQL endpoint URL (absolute or relative path) | |
| query | Yes | GraphQL query or mutation string | |
| headers | No | Additional request headers | |
| timeout | No | ||
| variables | No | GraphQL variables object (optional) | |
| operationName | No | GraphQL operation name (optional) |