updated
added support for RESTful web services