This code snippet uses HttpClient 3 api (HttpClient 3.0.1 jar) to invoke a REST based web service. It assumes the request is in JSON format and response is needed in JSON format. The code would require the Rest service url that we need to connect to… let’s call it serviceURL. Also, let’s assume the json […]
Here is a video that provides an introduction to REST. You may also like reading about : REST Architectural principles © 2015 – 2017, www.techkatak.com. All rights reserved.