The URL to send the request to.
The HTTP method to use ('GET' or 'POST').
Optionaldata: object
The data to send with the request.
Optionaltoken: string
The authentication token to include in the request headers.
Whether the operation requires an authentication token.
The unwrapped response data. For operations with a single root
field this is the bare field value; otherwise it is the full { data }
envelope. Use unwrapGraphQLResponse to apply the same rule to a
response yourself.
Sends a request to the specified URL.