I have 4 cookies in my browser csrfToken, Auth, Email and lead. I want make a post request to an endpoint /auth/admin. Here, I want to assign the csrfToken cookie value as header like 'X-CSRF-Token: token'.
How can i do that ?
I have 4 cookies in my browser csrfToken, Auth, Email and lead. I want make a post request to an endpoint /auth/admin. Here, I want to assign the csrfToken cookie value as header like 'X-CSRF-Token: token'.
How can i do that ?