4 ms·
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
by Timja 3y ago
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')