Apache HttpClient is a robust and complete solution Java library to perform HTTP operations, including RESTful service. This blog post shows how to create a RESTful Java client with Apache HttpClient, to perform a “GET” and “POST” request.
Apache HttpClient is available in Maven central repository, just declares it in your Maven
Following is the way to implement GET request.
Following is the way to implement POST request.
You can used WebClientWrapper class to ignore the certificate. You can find it from following.