Skip to content

Commit

Permalink
Compress URL further
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Oct 9, 2023
1 parent 4223e2e commit 25c6968
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/GraphQLOverHTTP.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ either omit {operationName} or set it to the empty string.
If we wanted to execute the following GraphQL query:

```raw graphql example
query($id: ID!){user(id:$id){name}}
query($id:ID!){user(id:$id){name}}
```

With the following query variables:
Expand All @@ -321,7 +321,7 @@ With the following query variables:
This request could be sent via an HTTP GET as follows:

```url example
http://example.com/graphql?query=query(%24id%3A%20ID!)%7Buser(id%3A%24id)%7Bname%7D%7D&variables=%7B%22id%22%3A%22QVBJcy5ndXJ1%22%7D
http://example.com/graphql?query=query(%24id%3AID!)%7Buser(id%3A%24id)%7Bname%7D%7D&variables=%7B%22id%22%3A%22QVBJcy5ndXJ1%22%7D
```

GET requests MUST NOT be used for executing mutation operations. If the values
Expand Down

0 comments on commit 25c6968

Please sign in to comment.