S
S
SerGio13132017-03-24 12:53:13
Spring
SerGio1313, 2017-03-24 12:53:13

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 question

Ask a Question

731 491 924 answers to any question