Test REST webservice.