Hi All,
I am trying to read headers from the response. Below is the code which is working for reading response body
May I know the api method to read the headers from the response(response headers)
importClass(Packages.com.ibm.security.access.httpclient.HttpClient);
importClass(Packages.com.ibm.security.access.httpclient.HttpResponse);
importClass(Packages.com.ibm.security.access.httpclient.Headers);
response = HttpClient.httpPost(restURL , header, body, null, null, null, null, null);
response.getBody() --> getting response body
Looking for the method to read the response from headers like above
Thanks
Sudheer
------------------------------
Sudheer Puvvada
------------------------------