Skip to content

Commit

Permalink
readme: update authz header examples (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
99hats authored Apr 23, 2020
1 parent dbe963c commit 45820bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ npm install --save graphqurl

```bash
gq https://my-graphql-endpoint/graphql \
-H 'Authorization: token <token>' \
-H 'Authorization: Bearer <token>' \
-q 'query { table { column } }'
```

Expand Down Expand Up @@ -368,7 +368,7 @@ Generic example:
```bash
gq \
https://my-graphql-endpoint/graphql \
-H 'Authorization: token <token>' \
-H 'Authorization: Bearer <token>' \
-H 'X-Another-Header: another-header-value' \
-v 'variable1=value1' \
-v 'variable2=value2' \
Expand All @@ -380,7 +380,7 @@ Reading the query and variables from a file:
```bash
gq \
https://my-graphql-endpoint/graphql \
-H 'Authorization: token <token>' \
-H 'Authorization: Bearer <token>' \
-H 'X-Another-Header: another-header-value' \
--variableFile='./queryVariables.json' \
--queryFile='./query.gql
Expand Down

0 comments on commit 45820bf

Please sign in to comment.