-1
So I have the following JSON :
var json = {
'cache-control': 'no-store, must-revalidate, max-age=0',
'content-length': '12747',
'content-type': 'text/html;charset=utf-8',
'content-language': 'pt-br',
'set-cookie': [
'ApplicationGatewayAffinity05CORS=97a3c470e904c1e72a708e84142b5859; Path=/; SameSite=None; Secure',
'ApplicationGatewayAffinity05=97a3c470e904c1e72a708e84142b5859; Path=/']
}
How do I select the set-cookie? I tried var cookie = json.set-cookie but it doesn’t work.
json['set-cookie']
– Andre