How to make cross-domain requests in JS with CORS | Dark Hacker News