How do I set up curl to if CSRF is enable in application.conf
I tried a number of option setting -H “Csrf: …” and tried to use the same headers in following Curl requests and it always fails. Tried a number of options -H “Csrf-Token: …” -H "X-CSRF-Token: … and all of them failed with p.filters.CSRF - [CSRF] Check failed because no token found in headers for /api/v1/mobile/setup
If I disable csrf play.filters.disabled += “play.filters.csrf.CSRFFilter” curl works