I hope this message finds you well. I am reaching out today to ask for some guidance regarding a challenge I'm facing. Specifically, I need to inspect the requests (including headers) sent from Nuxt(is middleware) to Magento, and I'm not quite sure about the best way to accomplish this.
I've attempted to log requests in plugins and middleware. While this did give me some request records, it seems that those are only requests made between the browser and the middleware, which isn't seem exactly what I need.
I also tried to intercept requests after creating an
Axios interceptors.request
Axios interceptors.request
after
const client = axios.create(config.axios)
const client = axios.create(config.axios)
However, this didn't provide me with any different results. I noticed that
@vue-storefront/magento-api
@vue-storefront/magento-api
imports Apollo, but after checking the corresponding config files in the project, I still didn't find the information I was looking for.