AnsweredAssumed Answered

Problems with using GraphiQL code in Insomnia

Question asked by Andrea G Schmidt on Jul 25, 2019
Latest reply on Jul 29, 2019 by Andrea G Schmidt

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: