See if you can come up data points to connect, or get data from external sources. I think you’ll quickly see what can make GraphQL so much more powerful than a traditional REST API, and how it can be fun to work with even if you’re just using the Playground. Try playing around with the API a bit and see what fun stuff you can do with it. Learn more about GraphQL, Express, and Okta You could then visit the /access-token endpoint from an incognito window, or after logging out of the developer console. If you want to mess around with other users, you can add people from the developer console by navigating to Users -> People, then clicking on Add Person. You should now be authenticated, and the same mutation will return a valid post: Const express = require ( ' express ' ) const cors = require ( ' cors ' ) const graphqlHTTP = require ( ' express-graphql ' ) const gql = require ( ' graphql-tag ' ) const
0 Comments
Leave a Reply. |