← 返回 doordash 的题目列表Get Bootstrap API
类型:online_judge
Write a get_bootstrap_api function that accepts customerId, address, and payment information, and retrieves these details from multiple APIs. Special attention should be given to handling failures in these API calls. Ensure appropriate fallback procedures when an API call fails. Provide relevant test cases covering different failure scenarios.
Example
Input
123, 'some address', 'credit-card'