Skip to content

Commit 25c6968

Browse files
committed
Compress URL further
1 parent 4223e2e commit 25c6968

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/GraphQLOverHTTP.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ either omit {operationName} or set it to the empty string.
309309
If we wanted to execute the following GraphQL query:
310310

311311
```raw graphql example
312-
query($id: ID!){user(id:$id){name}}
312+
query($id:ID!){user(id:$id){name}}
313313
```
314314

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

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

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

0 commit comments

Comments
 (0)