The .isValidUrl function is problematic because it does not use httr to check if a url is valid and thus prevents us from using mock api endpoints. Each webapi function in the package calls .checkBaseUrl which calls getWebApiVersion which calls .checkBase url meaning that WebApi is hit with three requests for every call to a webapi function. This pr removes the last step and just relies on the getWebApiVersion function to check if a url is valid.
The .isValidUrl function is problematic because it does not use httr to check if a url is valid and thus prevents us from using mock api endpoints. Each webapi function in the package calls .checkBaseUrl which calls getWebApiVersion which calls .checkBase url meaning that WebApi is hit with three requests for every call to a webapi function. This pr removes the last step and just relies on the getWebApiVersion function to check if a url is valid.