java - Spring RestTemplate GET with parameters - Stack Overflow
OK, so I'm being an idiot and I'm confusing query parameters with url parameters. I was kinda hoping there would be a nicer way to populate my query parameters rather than an ugly concatenated String but there we are. It's simply a case of build the URL with the correct parameters. If you pass it as a String Spring will also take care of the encoding for you.
Read full article from java - Spring RestTemplate GET with parameters - Stack Overflow
No comments:
Post a Comment