Reputation: 3
This screenshot is get api in front-end , so I can check api status in chrome devtool
but when i use SSR by Nuxt.js
, the api request is on server-side , so I can't check api status in the chrome devtool
..
Is any good way to check api status ??
Upvotes: 0
Views: 1823
Reputation: 51
if you need to check requests in network tab you can push router to other page and then click go back to previous to see the requsets
but if you check requset in ssr you can get req and res in context asyncdata and check that check https://nuxtjs.org/docs/2.x/concepts/context-helpers/
Upvotes: 1