📌  相关文章
📜  CORS 策略已阻止从源 '' 访问 '' 处的 XMLHttpRequest:-无论代码示例

📅  最后修改于: 2022-03-11 14:57:46.157000             🧑  作者: Mango

代码示例3
The problem occur when i click to retrieve the data from database 
in laravel i am using msqli database please help me in this problem
$(function(){



$(document).rea
    url = window.location.origin+"/todo/index";

           console.log(url);

             $.ajax({

               url : url,
               type: 'get',
               success: function (response) {
                   console.log(response);
               }


});

});