Try not using route:: controller. Use either resource or specific get and post methods.
XMLHttpRequest cannot load http://site.com/test?uid=. Origin http://origin.net is not allowed by Access-Control-Allow-Origin. This is not allow Cross-domain calls add ->setCallback(Input::get('callback')); callback in your code. And e.g ajax request it, use JSONP and add callback param.
makersunion said:
XMLHttpRequest cannot load http://site.com/test?uid=. Origin http://origin.net is not allowed by Access-Control-Allow-Origin. This is not allow Cross-domain calls add ->setCallback(Input::get('callback')); callback in your code. And e.g ajax request it, use JSONP and add callback param.
Thank you so much, I'm going to try that and let you know the result :D
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community