I have csrf protection in spring framework. So in each request I send csrf token in header from ajax call, which is perfectly working.
&
Please put X-CSRF-Token as key and FETCH as the value in the GET request header and you will receive the token in the response header