Rest API - Rate Limiting and Throttling
Examine this REST API function designed for graceful degradation:
What is the key issue in this implementation?
async function fetchUserProfile() {
try {
const profile = await getFullProfile();
return profile;
} catch (error) {
getBasicProfile();
}
}What is the key issue in this implementation?
