drodriguez

Experience

425

0 Best Reply Awards

  • Member Since 2 Years Ago
  • 4 Lessons Completed
  • 0 Favorites

15th October, 2015

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

Hi!

I was implementing this by grouping my API routes with the prefix 'api' and excluding it in the $except array as @criste_nicu said.

But I was wondering how to do it if I change my api call routes from a prefix to a subdomain like api.mydomain.com?

Edit Your Profile
Update

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