Sign inSign up free

588. Browser Blocks the API Call

medium 5 XP ~1 minQuiz

A page at https://app.example.com calls https://api.example.com/data with fetch(). The browser console shows a CORS error, but the same request with curl works. What fixes it?

Part of Cloud Architecture in Practice. Next step: Private DNS Names Don't Resolve

Choose one answer