ping a url to check it exists