csrf function
Makes the request pass the CSRF check as if it carried a valid token;
call useInvalidToken() on the result to test a refused one.
Requests other than GET, HEAD, TRACE and OPTIONS need it while CSRF protection is on.
Spring (Java): csrf().
Implementation
CsrfRequestPostProcessor csrf() => CsrfRequestPostProcessor._();