java - How to get Httpclient GEtMethod Response in XML/JSON format -
I am using the HTT Client's Gotmip to get content in the URL. There is nothing in the URL but under this 2 directories need me to read and display those directory names.
I'm getting that page as an HTML source response, something like
& lt; UL>
& lt; Li> & lt; A href = "library /"> library / & lt; / A> & lt; / Li>
& lt; Li> & lt; A href = "services /"> Services / & lt; / Li>
& lt; / Ul>
I think, feedback in XML format or Jason will be easy to use. Is there any way to get feedback in Json / xml format?
I tried to change the content type which
There is no responsibility.
Customer can only tell in that format how he would like the response and if the server supports it the customer will get it in the desired format.
Comments
Post a Comment