Войти
  • 149688Просмотров
  • 4 года назадОпубликованоdcode

How To Fix: "null has been blocked by CORS policy" Error in JavaScript AJAX

In today's video I'll be showing you how to fix the common CORS policy error which reads: ... from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported etc. The problem is that you are most likely serving your HTML directly from your system, whereas instead you should be using a web server to serve your HTML, CSS, JavaScript or images. A similar video on CORS: Join this channel to get access to perks: For your reference, check this out: 💜 Join my Discord Server: 🎨 Download my Visual Studio Code theme: Support me on Patreon: Follow me on Twitter: @dcodeyt If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode! #dcode #javascript