prisma-labs / get-graphql-schema

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

Cannot use GET method to get schema: "Request with GET/HEAD method cannot have body" #34

Open jvelo opened 4 years ago

jvelo commented 4 years ago

Tested on master (which has support for the --method CLI param) :

% node ./dist/bin.js --method=GET <endpoint>
Request with GET/HEAD method cannot have body