Allow API URL to be set manually