标签: ajax angularjs laravel-4
我试过这段代码:
$http({ method:"POST", url:baseurl+'/login', data:info });
Route::get('/login', 'LoginController@doLogin');
public function doLogin() { return json_encode( Input::all() ); }