Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
RunKit + npm: graphql-request
node v6.17.1
endpoint
share
tweet
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