You could use restful service client :) Take a look here javax.ws.rs-api 2.1-SNAPSHOT API Dec 27, 2010 · As you can see it can be really simple to test REST services in Java. REST Assured supports the POST, GET, PUT, DELETE and HEAD http methods and includes specifying and validating e.g. parameters, headers, cookies and body easily. Visit our homepage for more info and downloads.
SLF4J is a logging façade that enables you to use many common Java logging frameworks easily from a client application: for more information about SLF4J, see the SLF4J user manual. For a simple test of how to use SLF4J with the storage SDK, place the slf4j-api and slf4j-simple JAR files in the build path for your storage client project. Example: Using Java & APIs to Display other types of Data. So when we say REST API, we mean - APIs that not only returns requested data but also prepares it for further work. Client-server architecture - clear separation on two sides. The client sends requests and waits for the answer; the...Online REST Web Service Demo. This online demo is an example of a RESTful Web Service. The service was implemented using the principles of the REpresentational State Transfer architectural style. It exposes the Hypersonic sample database as Web Service. Using HTTP and XML, resources can be queried, removed and altered.