changed http interface to only require a url as parameter