Sample HTTPS Endpoint call through RestTemplate local:
http://localhost:8080/rest/template/users/1 >> https://reqres.in/api/users?page=1
http://localhost:8080/rest/template/users/2 >> https://reqres.in/api/users?page=2
Generate/Write JSON and XML file from Object.
https://www.baeldung.com/jackson-xml-serialization-and-deserialization
https://www.baeldung.com/jackson-convert-xml-json
Other reference Link : https://www.baeldung.com/httpclient-ssl
https://dzone.com/articles/use-client-certificate-authentication-with-java-an
Spring โ RestTemplate
https://howtodoinjava.com/spring-boot2/resttemplate/spring-restful-client-resttemplate-example/
https://attacomsian.com/blog/spring-boot-resttemplate-post-request-json-headers
https://www.callicoder.com/configuring-spring-boot-application/
https://www.guru99.com/json-to-xml-gson-jaxb.html
https://www.baeldung.com/jackson-convert-xml-json
https://howtodoinjava.com/spring-boot2/rest/consume-produce-json/
https://dzone.com/articles/create-a-json-api-rest-service-with-spring-boot-an
https://howtodoinjava.com/jackson/jackson-convert-object-to-from-json/