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…

3 comments

  • posted 7 years ago by zachzhi
    { Movie(title: "Inception") { releaseDate } }
  • posted 4 years ago by 5f32449f286619001a56770a
    dd
  • posted 2 years ago by crystalshay2es
    Cool

sign in to comment