top | item 27415757 (no title) tanaypingalkar | 4 years ago Nice tool it will be more nicer if it have graphql. discuss order hn newest sharat87|4 years ago Hey, glad you asked. GraphQL queries are actually just POST requests to a GraphQL endpoint. Although the experience is not something I'm proud of, it's indeed possible to hit GraphQL queries in the following manner: POST https://api.github.com/graphql Content-Type: application/json Authorization: Bearer github-personal-api-token ={query: ` { repository(owner: "appsmithorg", name: "appsmith") { releases(orderBy: {field: CREATED_AT, direction: DESC}, first: 20) { nodes { tagName name url descriptionHtml: descriptionHTML createdAt publishedAt isDraft isPrerelease } totalCount } } } `} Know more about this way of running queries at http://localhost:3045/docs/guides/templating/.
sharat87|4 years ago Hey, glad you asked. GraphQL queries are actually just POST requests to a GraphQL endpoint. Although the experience is not something I'm proud of, it's indeed possible to hit GraphQL queries in the following manner: POST https://api.github.com/graphql Content-Type: application/json Authorization: Bearer github-personal-api-token ={query: ` { repository(owner: "appsmithorg", name: "appsmith") { releases(orderBy: {field: CREATED_AT, direction: DESC}, first: 20) { nodes { tagName name url descriptionHtml: descriptionHTML createdAt publishedAt isDraft isPrerelease } totalCount } } } `} Know more about this way of running queries at http://localhost:3045/docs/guides/templating/.
sharat87|4 years ago