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 6 years ago by zachzhi
    { Movie(title: "Inception") { releaseDate } }
  • posted 4 years ago by 5f32449f286619001a56770a
    dd
  • posted a year ago by crystalshay2es
    Cool

sign in to comment