const headers = new Headers({
'access_token' : accToken,
'Content-Type': 'application/json',
});
axios.post(baseURI, data, {
headers: headers
})
.then((response) => {
this.users = response;
}, (error) => {
if (error) {
this.errorMessage = error.response.data.message;
}
}).catch(error => {
//this.errorMessage = error.response.data;
})
},
Error encountered while attempting to fetch data from local storage?
I have successfully created a login form using vuejs that stores data in the local storage. However, I am facing issues when trying to retrieve data from local storage for search purposes.
I have provided a screenshot of the local storage where I attempted to access the stored values in my code.