hi there, I'm having a very strange issue with my ...
# spring
p
hi there, I'm having a very strange issue with my spring boot 2 test project: when I perform a GET request it works fine, but on POST it always throws a 401 with plain text
CSRF Token has been associated to this client
... any ideas?
stackoverflow 1
l
turn off csrf or post token with body
p
it's just a plain POST request without any authentication or header...
p
do you use Spring Security?
p
yes, but even after I disabled it (including gradle dependency removal) it still happens
the issue is that I didn't have disabled csrf in the security config... why is it enabled by default in 2018?