Let’s say we’re trying to fetch some user information on our mywebsite.com website from a server that’s located at api.website.com!
...
Let's try the exact same request but from another domain. Instead of making the request from mywebsite.com, we’re now making the request from a website located at anotherdomain.com.
Either i dont understand the next couple sentences explaining how to tell if request is cross origin, or there is an error here, because it looks to me that both requests have been cross origin ;)
Either i dont understand the next couple sentences explaining how to tell if request is cross origin, or there is an error here, because it looks to me that both requests have been cross origin ;)
@pawel Kowalski
You are correct - either this is an error or maybe api.website.com allows the mywebsite.com origin!