Skip to content

Commit b8ebc34

Browse files
authored
Update README.md
1 parent b4dd807 commit b8ebc34

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ There is a sample web api project hosting the GraphiQL interface. `yarn install
3131
> yarn start
3232
```
3333
![](http://i.imgur.com/2uGdVAj.png)
34-
```
35-
Query Statement
3634

35+
### Query Statement
36+
```
3737
query StarWars($idValue: String!){
3838
human(id:$idValue){
3939
__typename
@@ -45,21 +45,24 @@ query StarWars($idValue: String!){
4545
}
4646
}
4747
}
48-
49-
query Values
48+
```
49+
### query Values
50+
```javascript
5051
{
5152
"idValue": "1"
5253
}
53-
54-
Mutation Statment
54+
```
55+
### Mutation Statment
56+
```
5557
mutation StarWars($idValue: String!,$nameValue: String!){
5658
human(id:$idValue,name:$nameValue){
5759
id
5860
name
5961
}
6062
}
61-
62-
query Values
63+
```
64+
### query Values
65+
```
6366
{
6467
"idValue": "1",
6568
"nameValue": "Luke Skywalker"

0 commit comments

Comments
 (0)