Send JSON as parameter in url using RestTemplate

If you try to send the json as a parameter in url via Spring’s RestTemplate, you will encounter the following error: In order to solve this problem, you need to: Encode the URL yourself Disable url encoding at the RestTemplate level. Let’s do that: Many thanks to Chris Liu for showing how to disable url […]

READ MORE