Issue
I am invoking a GET method on a percentage encoded URI , but my rest controller is not able to handle it. It throws Internal Server Error. How am i suppose to handle encoded uri on rest controller side using @RequestParam
Solution
Use String in @RequestBody, and use URLDecoder to decode in UTF-8.
Like this - URLDecoder.decode(value, StandardCharsets.UTF_8.toString())
.
You can use base64 as well. Check this answer.
Answered By - phnsh
Answer Checked By - Cary Denson (JavaFixing Admin)