hey guys,
I realized Laravel doesn't support using an external API out of the box and the application I'm working on has an off-site API. technically the DB and data structure API is excluded from the main application that I use Laravel for front-end and data manipulation. I know by using Guzzle its possible to use an external REST API but I could not find if Guzzle supports Graphql. how can I make this possible?
GraphQL, just like REST, exposes an HTTP endpoint which means that you can throw requests at that endpoint.
GraphQL only exposes 1 single endpoint to which you send your queries (via POST preferably) and the endpoint responds with the particular data structure you asked for.