<aside> 🚨 Access to XMLHttpRequest at ‘https://api.com/users’ from origin ‘http://localhost:3000’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

</aside>

SOP 와 CORS 란?

SOP(Same-Origin Policy) 란?

CORS(Cross-Origin Resource Sharing) 란?

+) 출처(Origin) 는 무엇인가?

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/1983d532-52d9-48e1-8afd-52797459c656/Untitled.png

CORS 가 필요한 이유