Hey there, I hope everyone is doing great!
I encountered an issue with my Vue Axios setup.
Uncaught (in promise) Error: Request failed with status code 415
Sharing my code snippet below:
authService.Login(user)
.then(resp => {
if (resp.data.success) {
resolve(resp)
}
})
.catch(err => {
reject(err)
})
Login (data) {
return shaxios.post('api/Auth/Authorize', data)
}