how to log request and response in spring boot code example
Example: spring login response data
String responseToClient= "3849303 ";
httpServletResponse.setStatus(HttpServletResponse.SC_OK);
httpServletResponse.getWriter().write(responseToClient);
httpServletResponse.getWriter().flush();