I need to consume a HTTPS REST service API, by passing logged in user sso token in headers of client request. I am able to consume http REST service api by using below code. Please can you help with SSL code to consume https service api.
Client client = ClientBuilder.newClient();
WebTarget target = client.target("http://localhost:8080/RESTEasyApplication/user-management/users
Invocation.Builder invocationBuilder = target.request(MediaType.T
Response response = invocationBuilder.get();