Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

RunKit + npm: graphql-request

node v6.17.1
endpointsharetweet
const { request } = require('graphql-request') const query = `{ Movie(title: "Inception") { releaseDate actors { name } } }` request('https://api.graph.cool/simple/v1/movies', query).then(data => console.log(data))
Created from: https://npm.runkit.com/graphql-request
Loading…

1 comment

  • posted 2 years ago by zachzhi
    { Movie(title: "Inception") { releaseDate } }

sign in to comment