File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ There is a sample web api project hosting the GraphiQL interface. `yarn install
31
31
> yarn start
32
32
```
33
33
![ ] ( http://i.imgur.com/2uGdVAj.png )
34
- ```
35
- Query Statement
36
34
35
+ ### Query Statement
36
+ ```
37
37
query StarWars($idValue: String!){
38
38
human(id:$idValue){
39
39
__typename
@@ -45,21 +45,24 @@ query StarWars($idValue: String!){
45
45
}
46
46
}
47
47
}
48
-
49
- query Values
48
+ ```
49
+ ### query Values
50
+ ``` javascript
50
51
{
51
52
" idValue" : " 1"
52
53
}
53
-
54
- Mutation Statment
54
+ ```
55
+ ### Mutation Statment
56
+ ```
55
57
mutation StarWars($idValue: String!,$nameValue: String!){
56
58
human(id:$idValue,name:$nameValue){
57
59
id
58
60
name
59
61
}
60
62
}
61
-
62
- query Values
63
+ ```
64
+ ### query Values
65
+ ```
63
66
{
64
67
"idValue": "1",
65
68
"nameValue": "Luke Skywalker"
You can’t perform that action at this time.
0 commit comments