include base path in API request, rename api_base_path to api_base_url