http.csrf().disable() spring boot code example Example: http.csrf().disable(); http.csrf().disable();