rest template causing an unsuccessful request in spring boot
I want to use RestTemplate for my API call. I am trying to initialize a payment gateway but it always returning an error message that says java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode. I really need help on how to resolve it.It was actually working when I was passing the values direct without having to reference it from somewhere. This is what I did.