Changed hostname to apiBaseUrl.