Fix error in creating RestTemplate
The RestTamplateBuilder doesn't save the arguments, it returns a new Builder instance, with the saved arguments. So you have to save the builder everytime you call a function on it.
Showing
Please
register
or
sign in
to comment