Aug 8, 2017 · 1 min read
Niice,
just 1 thing:
server.use('/graphiql', graphiqlExpress({
endpointURL: '/graphql'
}));must be:server.use('/graphql', bodyParser.json(), graphiqlExpress({
endpointURL: '/graphql'
}));
Niice,
just 1 thing:
server.use('/graphiql', graphiqlExpress({
endpointURL: '/graphql'
}));must be:server.use('/graphql', bodyParser.json(), graphiqlExpress({
endpointURL: '/graphql'
}));