Please ignore my question.. I figured it out. I can add a middleware to add the header and that works..probably not the right way, but this returns the anti-forgery-token for all responses instead of just the forms
@kwrooijen it worked, thanks a lot!
Good to hear, I made a PR to return a better error message when this happens https://github.com/duct-framework/core/pull/32
1👏Hopefully we can get this merged to help new users
that’s great!
@kevin.van.rooijen Thanks for creating the PR! I remember having banged my head against the same problem.