Skip to content

Commit

Permalink
Merge pull request folkloreinc#28 from alnutile/patch-1
Browse files Browse the repository at this point in the history
If I did not wrap the parameter key in quotes it
  • Loading branch information
dmongeau committed Mar 20, 2016
2 parents 72f9bc5 + 40b6526 commit 1299d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ GraphQL offer you the possibility to use variables in your query so you don't ne
When you query the GraphQL endpoint, you can pass a `params` parameter.

```
http://homestead.app/graphql?query=query+FetchUserByID($id:String){user(id:$id){id,email}}&params={id:"1"}
http://homestead.app/graphql?query=query+FetchUserByID($id:String){user(id:$id){id,email}}&params={"id":"1"}
```

### Custom field
Expand Down

0 comments on commit 1299d01

Please sign in to comment.