require a url to query, error if not present.