added support for basic rest services