@RequestMapping(value = "/analyst/getcompany/{user}", method = RequestMethod.GET, produces = "application/json")
public String getEmail(@PathVariable String user) {
//logic
}
when requesting this URI with:
"analyst/getcompany/Abc@gmail.com"
It is giving HTTP Status 406.
I encode the @ with %40 but {.} in the email id is creating a problem. how to handle this?