我運用的是laravel框架,xampp搭建的apach環境,header('content-type:application:json;charset=utf8'); header('Access-Control-Allow-Origin:*');
header('Access-Control-Allow-Methods:POST');
header('Access-Control-Allow-Headers:x-requested-with,content-type');我在php代碼中加上了這樣的header頭,可是并沒有用,求指教?。?!
- 1 回答
- 0 關注
- 531 瀏覽
添加回答
舉報
0/150
提交
取消