diff --git a/docs/content/getting-started.md b/docs/content/getting-started.md index b7afd9e4831..083d1521b3f 100644 --- a/docs/content/getting-started.md +++ b/docs/content/getting-started.md @@ -135,7 +135,7 @@ We now have a working server, to start it: go run server.go ``` -Open http://localhost:8080 in a browser. Here are some queries to try: +Open http://localhost:8080 in a browser. Here are some queries to try, starting with creating a todo: ```graphql mutation createTodo { createTodo(input:{text:"todo", userId:"1"}) { @@ -146,7 +146,11 @@ mutation createTodo { done } } +``` + +And then querying for it: +```graphql query findTodos { todos { text