From b8d569129e62b7bd9db450a83d79e40b60a403b8 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Thu, 11 Oct 2018 12:13:53 -0400 Subject: [PATCH] more complex example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2d606be..a865ae9 100644 --- a/README.md +++ b/README.md @@ -70,9 +70,9 @@ We can then send a query to our service: Or, request YAML back: ```pycon ->>> r = requests.get("http://app/graph", params={"query": "{ hello }"}, headers={"Accept": "application/x-yaml"}) +>>> r = requests.get("http://app/graph", params={"query": "{ hello(name:\"john\") }"}, headers={"Accept": "application/x-yaml"}) >>> print(r.text) -data: {hello: Hello stranger} +data: {hello: Hello john} ```