Solved. The reason is that Request::header(); unable to interpret the parameter with underscore. So after I changed to
$http.defaults.headers.common['csrfToken'] = CSRF_TOKEN;
It works! Thanks to rvs1977 from (https://github.com/laravel/framework/issues/1655#issuecomment-20595277)
Thank you!
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community