@GetMapping("/agent")
public String readAgent(
@RequestHeader(value="User-Agent",required = true) String userAgent
@RequestHeader("x-authorization") String authorization){
return userAgent;
}
@GetMapping("/agent")
public String readAgent(HttpServletRequest request){
return request.getHeader("User-Agent");
}