graphql-schema-diff icon indicating copy to clipboard operation
graphql-schema-diff copied to clipboard

Use with multiple Headers ?

Open zuernBernhard opened this issue 3 years ago • 1 comments

How can it be used with multiple headers ? Like Insomnia for example:

Bildschirmfoto 2022-01-05 um 11 30 56

zuernBernhard avatar Jan 05 '22 10:01 zuernBernhard

To use multiple headers you can just use the --header (or -H) option multiple times, e.g.:

graphql-schema-diff https://example.com/graphql schema.graphql \
  -H 'Authorization: Bearer 123' \
  -H 'Content-Type: application/json' \
  -H 'X-Api-Key: 123'

fabsrc avatar Jan 05 '22 19:01 fabsrc

Thank you !

zuernBernhard avatar Nov 03 '22 13:11 zuernBernhard