Test CSRF
with useCsrfFetch
or test
with $csrfFetch
POST /test (without csrf header)
POST /test (with csrf header)
POST /nocsrf (without csrf header)
POST /error (throw an error one time in two)
Result of
/api/data
:
[ "some", "specific", "data" ]