added support for Rest service
added support for Rest service