graphqurl
graphqurl
is a curl like CLI for GraphQL. It's features include:
- CLI for making GraphQL queries. It also provisions queries with autocomplete.
- Run a custom GraphiQL, where you can specify request's headers, locally against any endpoint
- Use as a library with Node.js or from the browser
- Supports subscriptions
- Export GraphQL schema
Made with ❤️ by Hasura
Table of contents
Installation
Steps to Install CLI
npm install -g graphqurl
Steps to Install Node Library
npm install --save graphqurl
Usage
CLI
Query
gq https://my-graphql-endpoint/graphql \
-H 'Authorization: Bearer <token>' \
-q 'query { table { column } }'
Auto-complete
Graphqurl can auto-complete queries using schema introspection. Execute…