Browser & Web Performance · Junior · Question 56 of 75

A frontend on https://app.com calls https://api.com and sees a CORS error. Where is the fix usually needed?

Explanation

no-cors gives an opaque response that script can't read. The API (or a proxy in front of it) must allow the origin.

Further reading

Problem with a question

Browser & Web Performance · Junior · question 56

Test yourself

Take the Browser & Web Performance · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz