# in folder collection tab preq-request script add this pm.sendRequest({ url: "http://localhost:8000/sanctum/csrf-cookie", method: "GET" }, (error, response, { cookies }) => { pm.collectionVariables.set('csrf-cookie', cookies.get('XSRF-TOKEN')); })
# in folder collection tab preq-request script add this pm.sendRequest({ url: "http://localhost:8000/sanctum/csrf-cookie", method: "GET" }, (error, response, { cookies }) => { pm.collectionVariables.set('csrf-cookie', cookies.get('XSRF-TOKEN')); })