Comment Comment by Timja Most servers don't set a CORS header though.So usually it does not work in the browser.Try this in your console while not on Reddit: fetch('https://www.reddit.com/.json') parent Timja 3 years ago
So usually it does not work in the browser.
Try this in your console while not on Reddit: