Add a `check()` method that would do a get+json() on the root api endpoint, to verify that the indicated URL is usable.