Skip to content
Advertisement

Email value won’t pass through from vue to springboot

I have made a api that should get a user by their email but I get an error. I have similar api that just works, I think it goes wrong when I send it to the controller.

The error:

JavaScript

My vue code:

JavaScript

Authservice

JavaScript

Controller

JavaScript

UserRepository

JavaScript

Advertisement

Answer

Not sure what api is here in the Vue context but I would guess that you need to change the Authservice to

JavaScript
User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement