Add option to enter endpoint URL
Currently, https://apis.guru/graphql-voyager/ supports visualizing GraphQL APIs by
- entering SDL
- entering introspection
- using one of built-in samples (Star Wars, Yelp, Shopify Storefront, GitHub)
But it doesn't support visualizing GraphQL APIs by entering the GraphQL API endpoint URL.
This is the first thing I was looking for when I first saw a GraphQL Voyager to try it with my API (with minimal effort). Entering URL is the most intuitive and expected way for users. BTW, visualizing by URL is already implemented in https://birdseye.novvum.io and https://brbb.github.io/graphql-rover/.
I've tried to add querystring param ?url=http://www.path.to/graphql/endpoint to https://apis.guru/graphql-voyager/ as suggested in https://github.com/APIs-guru/graphql-voyager/issues/4#issuecomment-333816142, but for some reason it doesn't work (anymore).
@RomanGotsiy @IvanGoncharov Has anything changed since that time?
Hi @FluorescentHallucinogen,
It's regression after our recent refactoring. I will look into it.
@IvanGoncharov Have you had a chance to look?
@FluorescentHallucinogen Thanks for the reminder.
I added back support for '?url=
I can confirm this works. Thanks @IvanGoncharov