I am building an application in springboot. I have this block of code:
String testUrl = "http://example.com/filter1/filter2/Art: Is It Value?";
ExampleResources<Test> exampleResources =
restTemplate.exchange(testUrl, HttpMethod.GET, null, new
ParameterizedTypeReference<ExampleResources<Test>>() {
}).getBody();
It returns empty list. But if I do a GET request for the url in Postman I am getting the correct results. After testing for some time I found that the question mark("?") is causing issues. How should I deal with this?