Simplified the url api