Vue Login with Axios Request HTTP
问题 Im new at Vue and im trying to make a Request HTTP to my backend, When i inspect in my browser, i get the access token from /login but in the api/users i get "Token is Invalid". How do i get my api/users data? import axios from "axios"; export default { name: "login", async created() { const response = await axios.get("api/users", { headers: { Authorization: "Bearer " + localStorage.getItem("token") } }); console.log(response); }, data() { return { showError: false, email: "", password: "", }