Answer the question
In order to leave comments, you need to log in
How to send json in response to "/login, /logout" in Spring?
Good afternoon!
The task is to implement login / logout using Spring. Most of the examples found show the implementation with a redirect to the login form (jsp, html). I need to generate json response for frontend developer. What are the main differences between these two approaches? (MB poke your nose into examples or documentation that I did not catch my eye).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question