No response as html is expected as I am passing output as html to api. I tried with Material jar but its not storing html response to a file. I have to look for some java code to save the file.
Sorry, I do not understand what you say.
Finally I am able to store html response using java code only. Material jar is applicable for response type text/json but not for text/html