0

How do I perform HTTP GET method?

Share:

Below is an example using Commons HttpClient library to retrieve information from a website using HTTP GET method. The response will be returned as string by the HttpMethod.getResponseBodyAsString() method.

Filed in: Commons HttpClient

Leave a Reply

Submit Comment

© 2014 Java Examples - Developed with