Problems with using GraphiQL code in Insomnia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
GraphQL is totally new to me and while I've been able to create some queries in graphiql, when I try the same code in Insomnia, the IDs don't work and need to be altered. A course ID which is normally 7 digits and works when used in graphiql needs to have "29000000" pre-pended in Insomnia. I haven't been able to figure out what works when trying to get user information with a userID in Insomnia yet. Has anyone else run into this when creating queries outside of graphiql? Or found any documentation on this? I was hoping to rewrite my ruby scripts that use the api currently to using graphql.
Here is an example of the differences between graphiql and Insomnia:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just did some log-diving. It looks like Insomnia is configured to hit canvas.beta.instructure.com, but it should be <yourinstitution>.beta.instructure.com.