Write test and need set environment token from Cookies
Try:
pm.environment.set(“Token”, response.Cookies.csrftoken);
But it’s not work
Thanks for any help
Write test and need set environment token from Cookies
Try:
pm.environment.set(“Token”, response.Cookies.csrftoken);
But it’s not work
Thanks for any help
Try something like
pm.environment.set('token', pm.cookies.get('csrftoken'));
Despa, thanks you it’s work)