Closed stormsweeper closed 1 month ago
Before:
% gq https://hasura.local/v1/graphql -H "X-Hasura-Admin-Secret: hasura" --introspect > foo.schema
Executing query... error
Error: { errors: [ { message: 'failed to fetch' } ] }
After:
% gq https://hasura.local/v1/graphql -H "X-Hasura-Admin-Secret: hasura" --introspect -k > foo.schema
Executing query... done
The flags are based on the same ones in cURL. With the flag added, it will create an https agent that does not reject bad certificates.
fix #143