0

This screenshot is get api in front-end , so I can check api status in chrome devtool

enter image description here

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 ??

1 Answer 1

1

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/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.