laravel - define post route without csrf token -
i want call functions android side.
now, want send post values android side.
how can disable csrf token functions ?
because without got error message .
like this:
route::post('mobile/android/getlastnews','newscontroller@getlastnews');
open app/http/middleware/verifycsrftoken.php , in protected $except = []; array add url want skipped csrf validation.
Comments
Post a Comment