getUrl class call