i have the below
let bodyData = pm.response.json()
let country = bodyData[0].Country
console.log(country)
pm.environment.set("country", country)
but i want to set multiple variables. I have around 8 different variables in my environment and i tried the below but it doesnt work
let bodyData = pm.response.json()
let country = bodyData[0].Country
let postcode = bodyData[0].Postcode
console.log(country,postcode)
pm.environment.set("country","postcode", country, postcode)
any help appreciated