Why does the X-CSRF token I receive from my axios request differ from the one I get in Postman? Here is how I am retrieving it:
headers: {
"X-CSRF-Token": "FETCH"
}
Furthermore, I am unable to use the X-CSRF token from my axios request in Postman as it is rejected with an error message stating that it is not a valid X-CSRF token.
In addition, the token obtained from axios changes every time I make a GET request, while the token from Postman remains the same for approximately 10-15 minutes.
Token from Postman: t7HbFUE0sgE4vM36BN_u_Q==
Token from Axios: 16c47S-pA5oxZu6t_pUi8Q==