Skip to content

Tag: spring-boot

Return success from api as true or false om Spring REST API

I am pretty new to Springboot. How can I configure my Springboot API to return the JSON response below from my login or register endpoints?. How I can return true – successful response? And also for example if there is a code exception into code processing how can I return false as the success JSON resp…