CORS is the policy that defines this, an acronym that stands for “Cross-Origin Resource Sharing”
You cannot normally make an AJAX request across different domains
Some domains don’t allow you to ping them from other domains and some do
Click here for more information about CORS