add support for RESTful API servers