Home>

To perform HTTP communication with Vue.js
Using AXIOS, the access token to use is in .ENV file.
What can we do with the browser's Devtool?
Is there a way to do encryption etc.?

  • Answer # 1

    If Vue.js runs on a browser, it is also a browser to perform HTTP requests on AXIOS. Therefore, it is not necessary to see the questioner, as the browser will necessarily know the access token.

    If the access token is not known to the browser (client side), prepare an API server that knows the token and publish a request to that API server from the client (Vue.js), access token Actual requests using the API server will take place.