Updated base URL to accept different apis