This is an incomplete check, the request might fail due to HTTP error. And that’s what probably happens, since when I try to access the second link in browser, I get “Access Denied”.
I used Charles Proxy, which shows that the connection was established with a 200 response code. So the request is getting sent but there is never a response from the server. So when I call www.SendWebRequest(); it never returns so I never get a HTTP error. (I’ve added more network checks like Aurimas-Cernius suggested, but these checks never get called).
I’m thinking that it’s a CORS issue, my guess is that the server has some CORS rule that does not permit me to load its resources. I recently tried adding “Access-Control-Allow-Origin : *” to my header to see if I can make a request without credentials, but this produced no response from the server.
Assuming that there is a CORS issue what else can I do? Also, how can I know what CORS-related rules the server is enforcing?