Simple client access

A GraphQL server can be accessed using pure HTTP. The form it needs to have is:

// Doing a GET request
http://myapi/graphql?query={me{name}}

for POST requests they need to look like this:

{
  "query": "...",
  "operationName": "...",
  "variables": { "myVariable": "someValue", ... }
}

query, this is our GraphQL query

operationName is optional and is used if you need to perform more than one action

variables this is where we input our variables for parameterized queries or mutations

results matching ""

    No results matching ""