Add an option to find endpoint by url