prisma-labs / get-graphql-schema

Fetch and print the GraphQL schema from a GraphQL HTTP endpoint. (Can be used for Relay Modern.)
669 stars 62 forks source link

Can't pass headers to schema qurery #8

Open DrBoria opened 7 years ago

DrBoria commented 7 years ago

I tried to fetch schema from server. In this case I should pass headers with data in json format to request. For example: get-graphql-schema https://example.com --headers "AUTH": "{\"token\": \"1234\",\"timestamp\":\"123123123\"}"

davemcorwin commented 7 years ago

@DrBoria When you get a chance, grab the latest version, I believe this has been addressed in #10 and can be closed.