DEV Community

zellu rakib
zellu rakib

Posted on

How to get status description from spring boot rest controller

I have a rest controller in springboot with embedded tomcat. the controller is calling from ASP .NET application where they are checking StatusDescription is "OK" or not. My response is ok with data but Status Description is always empty String.

is there any way to get StatusDescription?

example api:

@GetMapping(value

Top comments (0)