How can I use RestTemplate in Spring to perform a request like this?
curl --key test.key --cert test.pem --cacert testca.pem -k https://example.com
How can I use RestTemplate in Spring to perform a request like this?
curl --key test.key --cert test.pem --cacert testca.pem -k https://example.com
you can send them as Headers i believe. There is class called as HttpEntity which can be used for sending the headers and request to the REST template. For more reference please find the below link