GraphQL queries are using POST, should be GET
We have noticed that all our GraphQL queries are using POST, and not GET.
We have the below default setting in our middleware.config.
We need the queries to use GET so that caching works. How do we resolve this?
Version:
3 Replies
I may be getting confused here. I'm looking at the network activity in the browser, where requests are getting sent via
POST
to /api/magento/...
How can I verify the GraphQL queries that hit Magento are using GET
Hi @Darren R π , I took a look at the change log here: https://docs.vuestorefront.io/middleware/reference/change-log#_350
and it appears that get support was added in version 3.5. Try upgrading.
Hey @Darren R , initially all the GraphQL queries were indeed using POST request. Not so long back we added the option to use GET requests, please check the link @rohrig sent you π