I am working through the tutorial examples, and when trying the book example from the Http section, I’m running into a snag. It works fine in the online emulator, but when I put it in atom and run it through reactor, I’m getting a NetworkError response. This was somewhat fortunate at first as it helped me learn about the response types and handling them, but now I can’t seem to work it out. I’ve tried it with different .txt URLs, and tried it on different networks (work network and mobile). The link to my modified code is above, although it produces the same result when copied straight out of the tutorial. Am I missing an import or some other structural/syntactical oversight?
Okay, thank you!! I pushed it through a generic CORS proxy I found on SO and it worked. I’m new to web development (very new) so this may be a silly question, but are these CORS denials common? Is it even advisable to use a CORS proxy?
Why does the browser not block the http request if I navigate there directly with the address bar?