In this video, I use Apache's HttpClient to consume a web service. I demonstrate how to GET a response from a running web service. I parse the JSON response using FasterXML's Jackson library. I also demonstrate how to send a parameter to the web service. Finally, I demonstrate how to POST a JSON document for the service's RequestBody.
This video extends my series on creating a simple web service.
Chapters
Begin 00:00
Create the class 1:08
POM 2:12
Simple GET 3:46
Parameterized Get 14:54
POST 17:21