criste_nicu

Experience

2,725

0 Best Reply Awards

  • Member Since 3 Years Ago
  • 22 Lessons Completed
  • 0 Favorites

15th October, 2015

criste_nicu left a reply on [L5] Avoiding CSRF Middleware On API POST Routes • 3 years ago

in Http/Middleware/VerifyCsrfToken.php you have an array called $except. Just add your api uri. /** * The URIs that should be excluded from CSRF verification. * * @var array / protected $except = [ 'api/' ];

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.