added support for url request