Life is about consume many resources. :)
There are lots of library out there in which we can write WebAPI client or call RESTFul API. In this repository, I am just try to add code example. These are a few name of the library:
- HttpUrlConnection
- Jersey
- OkHttp
- httpclient
1.Project Name: example_httpclient-3.1
- HttpClient i.e commons-httpclient-3.1.jar and link is http://hc.apache.org/httpclient-3.x/
- Added **commons-logging-1.2.jar** else you'll get exception about logging class not found.
- Added **commons-codec-1.9.jar** else you'll get exception about logging class not found.
2.Project Name: **example_httpclient-4.x** i.e using httpClient 4.x
- HttpClient i.e httpcomponents-client-4.5.3 and link is http://hc.apache.org/downloads.cgi