Post request using fetch fails to be sent after using spring security
I am working on a small project where I used spring security. Before I used spring security, I was sending a post request using fetch. As soon as I implemented spring security, the requests were blocked. I am new to Spring Security so I am lost as to what I should do.
This is the fetch request: