get a URL for the given data