Taking URL as parameter