I have problems with CSRF token when I request a post request to the server.
I have read somewhere that suggest to fetch it in the request with
and then later get the token from the response.
However, I do not know how to read the response header using the datajs.
Anyone who knows this? I really appriciate if someone could assist me in this matter.