replace default url for couchdb request