-H 'Cookie: JSESSIONID=...' -H 'X-CSRF-TOKEN: ' // CsrfCustomizer http.csrf(c -> { c.ingnoringAntMatchers("/") }) CsrfToken getHeaderName() getParameterName() getToken() curl -H "X-IDENTIFIER: 12345" some-get-endpoint